diff --git a/main.py b/main.py index 58c99fc..aef1cc0 100644 --- a/main.py +++ b/main.py @@ -63,6 +63,7 @@ def signal_handler(sig, frame): else: # Second Ctrl-C within timeout logger.warning("^1^8Quittin'^0") + curses.endwin() # Restore terminal before force exit os._exit(0) def parse_cvar_response(message, game_state, ui):