fix exiting moar
This commit is contained in:
1
main.py
1
main.py
@ -63,6 +63,7 @@ def signal_handler(sig, frame):
|
|||||||
else:
|
else:
|
||||||
# Second Ctrl-C within timeout
|
# Second Ctrl-C within timeout
|
||||||
logger.warning("^1^8Quittin'^0")
|
logger.warning("^1^8Quittin'^0")
|
||||||
|
curses.endwin() # Restore terminal before force exit
|
||||||
os._exit(0)
|
os._exit(0)
|
||||||
|
|
||||||
def parse_cvar_response(message, game_state, ui):
|
def parse_cvar_response(message, game_state, ui):
|
||||||
|
|||||||
Reference in New Issue
Block a user