Fix signal handling to ensure screen is cleared before exiting on SIGINT

This commit is contained in:
2025-05-13 21:22:23 +02:00
parent 2752f252ce
commit 7fa46c2131
+1 -1
View File
@@ -17,8 +17,8 @@
void handle_sigint(int sig) void handle_sigint(int sig)
{ {
clear();
endwin(); endwin();
clear();
exit(0); exit(0);
} }