Fix configuration menu 'Quit' action

Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lars Henriksen 2020-06-19 20:40:50 +02:00 committed by Lukas Fleischer
parent 4ea59f23dc
commit 5198638ea3

View File

@ -1201,7 +1201,10 @@ void custom_config_main(void)
wmove(win[STA].p, 0, 0);
wins_doupdate();
while ((ch = keys_wgetch(win[KEY].p)) != 'q') {
while (1) {
ch = keys_wgetch(win[KEY].p);
if (keys_get_action(ch) == KEY_GENERIC_QUIT)
break;
switch (ch) {
case 'C':
case 'c':