Replace remaining uses of wgetch() by keys_wgetch()
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
@@ -220,7 +220,7 @@ int status_ask_choice(const char *message, const char choice[],
|
||||
status_mesg(message, avail_choice);
|
||||
|
||||
for (;;) {
|
||||
ch = wgetch(win[KEY].p);
|
||||
ch = keys_wgetch(win[KEY].p);
|
||||
for (i = 1; i <= nb_choice; i++)
|
||||
if (ch == choice[i])
|
||||
return i;
|
||||
|
||||
Reference in New Issue
Block a user