diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c index 0d6e22b76a..db3b2e91a8 100644 --- a/modules/gui/ncurses.c +++ b/modules/gui/ncurses.c @@ -1569,9 +1569,10 @@ static void HandleCommonKey(intf_thread_t *intf, input_thread_t *input, switch(key) { case 0x1b: /* ESC */ + /* See comment in HandleEditBoxKey() */ if (getch() != ERR) return; - + /* fall through */ case 'q': case 'Q': case KEY_EXIT: