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

@@ -66,7 +66,7 @@ void ui_todo_add(void)
GETSTRING_VALID) {
while ((ch < '0') || (ch > '9')) {
status_mesg(mesg_id, "");
ch = wgetch(win[KEY].p);
ch = keys_wgetch(win[KEY].p);
}
struct todo *todo = todo_add(todo_input, ch - '0', 0, NULL);
ui_todo_load_items();