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;