From 42ebadd105219965c54a8775b4e1f2e09e82ba5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 3 Mar 2019 17:46:21 +0200 Subject: [PATCH] ncurses: mute switch fall through --- modules/gui/ncurses.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: