diff options
| -rw-r--r-- | nandgame/cpp/simpc_ui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp index e3435bc..35cbdcb 100644 --- a/nandgame/cpp/simpc_ui.cpp +++ b/nandgame/cpp/simpc_ui.cpp @@ -112,11 +112,14 @@ void simpc_ui_init(void) { curs_set(0); nodelay(stdscr, TRUE); noecho(); + cbreak(); #endif } void simpc_ui_cleanup(void) { #if NCUR + nocbreak(); + echo(); endwin(); #endif } |
