summaryrefslogtreecommitdiffstats
path: root/src/ui-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui-todo.c')
-rw-r--r--src/ui-todo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui-todo.c b/src/ui-todo.c
index 23ebb16..d75f724 100644
--- a/src/ui-todo.c
+++ b/src/ui-todo.c
@@ -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();