summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/custom.c2
-rw-r--r--src/ui-todo.c2
-rw-r--r--src/utils.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/custom.c b/src/custom.c
index 8201ffa..1826156 100644
--- a/src/custom.c
+++ b/src/custom.c
@@ -1092,7 +1092,7 @@ void custom_config_main(void)
wmove(win[STA].p, 0, 0);
wins_doupdate();
- while ((ch = wgetch(win[KEY].p)) != 'q') {
+ while ((ch = keys_wgetch(win[KEY].p)) != 'q') {
switch (ch) {
case 'C':
case 'c':
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();
diff --git a/src/utils.c b/src/utils.c
index e922997..e0e35bc 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -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;