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:
parent
4ea59f23dc
commit
5198638ea3
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user