From 670bd3fe33248756789423c76b14b00c0a3287ad Mon Sep 17 00:00:00 2001 From: uvok Date: Sun, 11 Jan 2026 11:46:43 +0100 Subject: Utilize cbreak mode --- nandgame/cpp/simpc_ui.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 } -- cgit v1.2.3