aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui-todo.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2017-09-03 16:37:06 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-09-03 16:37:35 +0200
commit2e584f03e6242887984c7b5e7cfe77935017e8f5 (patch)
tree3f42532f67db49e7773f049d87b7048d1cbf116b /src/ui-todo.c
parent53f0f1d2e375ed800fe9235d359a119f0eee592e (diff)
downloadcalcurse-2e584f03e6242887984c7b5e7cfe77935017e8f5.tar.gz
calcurse-2e584f03e6242887984c7b5e7cfe77935017e8f5.zip
Replace remaining uses of wgetch() by keys_wgetch()
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
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();