summary refs log tree commit diff homepage
path: root/play.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--play.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/play.c b/play.c
index 1e1ab51..ca3ac4f 100644
--- a/play.c
+++ b/play.c
@@ -249,6 +249,7 @@ static const struct Game *menu(void) {
 		clrtoeol();
 		move(1 + 3 * game, 2);
 		int ch = getch();
+		if (ch == ERR) ch = getch();
 		switch (ch) {
 			break; case 'k': case KEY_UP: {
 				if (game) game--;