curses auto-exit

This commit is contained in:
Josh Patra
2024-12-25 18:44:30 -05:00
parent 9fc3f97c0b
commit 2946785f55

View File

@@ -539,8 +539,8 @@ def run_in_curses():
except json.JSONDecodeError:
logger.print_log("Error decoding realmojis.json file.", force=True)
logger.print_log("\nAll done. Press any key to exit.")
stdscr.getch()
logger.print_log("\nAll done.")
# Removed the prompt and getch() to allow curses to exit automatically
try:
curses.wrapper(main_curses)