diff options
Diffstat (limited to 'src/notify.c')
-rw-r--r-- | src/notify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notify.c b/src/notify.c index 64ce0dc..ff5b2e2 100644 --- a/src/notify.c +++ b/src/notify.c @@ -778,7 +778,7 @@ void notify_config_bar(void) KEY_GENERIC_QUIT, KEY_MOVE_UP, KEY_MOVE_DOWN, KEY_EDIT_ITEM }; struct listbox lb; - int ch; + int key; clear(); listbox_init(&lb, 0, 0, notify_bar() ? row - 3 : row - 2, col, @@ -793,8 +793,8 @@ void notify_config_bar(void) wmove(win[STA].p, 0, 0); wins_doupdate(); - while ((ch = keys_getch(win[KEY].p, NULL, NULL)) != KEY_GENERIC_QUIT) { - switch (ch) { + while ((key = keys_get(win[KEY].p, NULL, NULL)) != KEY_GENERIC_QUIT) { + switch (key) { case KEY_MOVE_DOWN: listbox_sel_move(&lb, 1); break; |