summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: abd6717)
raw | patch | inline | side by side (parent: abd6717)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Fri, 3 Feb 2012 18:43:46 +0000 (19:43 +0100) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Fri, 3 Feb 2012 18:45:23 +0000 (19:45 +0100) |
src/command.c | patch | blob | history |
diff --git a/src/command.c b/src/command.c
index a11a8dca9ce220a00e9b69fcf9dbb4cf950e8ad1..e3663339ee9837436bbfec350b4690024c32ba69 100644 (file)
--- a/src/command.c
+++ b/src/command.c
int key;
key = wgetch(stdscr);
- if (key == ERR)
+ if (key == ERR || key == '\0')
return CMD_NONE;
#ifdef HAVE_GETMOUSE