Replace remaining uses of wgetch() by keys_wgetch()

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer
2017-09-03 16:37:06 +02:00
parent 53f0f1d2e3
commit 2e584f03e6
3 changed files with 3 additions and 3 deletions

View File

@@ -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;