summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nandgame/cpp/simpc_ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp
index bdb18fe..0eaebd5 100644
--- a/nandgame/cpp/simpc_ui.cpp
+++ b/nandgame/cpp/simpc_ui.cpp
@@ -216,6 +216,7 @@ static void handle_key() {
// pass true (currently paused) - getch will be non-blocking.
nodelay(stdscr, paused);
paused = !paused;
+ block_here = paused;
break;
case 'q':
simpc_ui_cleanup();