ref: e89b9646cd52f1d97c84db52406636ee1bb396e9
parent: 80ce5fd9ffcf039156695e5f8ed34f19a44c6d9c
author: phil9 <telephil9@gmail.com>
date: Sat Jun 1 01:39:13 EDT 2024
restore window size on quit (thanks moody) Quitting spit when in fullscreen mode will leave the user with a fullscreen terminal window which is most certainly not expected.
--- a/spit.c
+++ b/spit.c
@@ -457,6 +457,8 @@
switch(k){
case Kdel:
case 'q':
+ if(fullscreen)
+ togglefullscreen();
threadexitsall(nil);
break;
case 'f':