summaryrefslogtreecommitdiffstats
path: root/src/getstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getstring.c')
-rw-r--r--src/getstring.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/getstring.c b/src/getstring.c
index d558331..6546565 100644
--- a/src/getstring.c
+++ b/src/getstring.c
@@ -259,6 +259,9 @@ enum getstr getstring(WINDOW * win, char *str, int l, int x, int y)
case CTRL('G'):
return GETSTRING_ESC;
break;
+ case ERR:
+ case KEY_RESIZE:
+ continue;
default: /* insert one character */
c[0] = ch;
for (k = 1;