summary refs log tree commit diff homepage
path: root/freecell.c
diff options
context:
space:
mode:
Diffstat (limited to 'freecell.c')
-rw-r--r--freecell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/freecell.c b/freecell.c
index 3855d18..b3ca0e9 100644
--- a/freecell.c
+++ b/freecell.c
@@ -325,6 +325,7 @@ static bool quit;
 static void input(void) {
 	MEVENT m;
 	int ch = getch();
+	if (ch == ERR) ch = getch();
 	uint stack = Stacks;
 
 	if (ch == KEY_MOUSE && getmouse(&m) == OK) {