Fix signal handling to ensure screen is cleared before exiting on SIGINT
This commit is contained in:
+1
-1
@@ -17,8 +17,8 @@
|
||||
|
||||
void handle_sigint(int sig)
|
||||
{
|
||||
clear();
|
||||
endwin();
|
||||
clear();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user