diff options
-rw-r--r-- | src/tty_interface.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tty_interface.c b/src/tty_interface.c index 9bc732b..fc903e6 100644 --- a/src/tty_interface.c +++ b/src/tty_interface.c @@ -152,6 +152,10 @@ static void action_prev(tty_interface_t *state) { choices_prev(state->choices); } +static void action_ignore(tty_interface_t *state) { + (void) state; +} + static void action_next(tty_interface_t *state) { update_state(state); choices_next(state->choices); @@ -236,6 +240,8 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */ {"\x1bOB", action_next}, /* DOWN */ {"\x1b[5~", action_pageup}, {"\x1b[6~", action_pagedown}, + {"\x1b[200~", action_ignore}, + {"\x1b[201~", action_ignore}, {NULL, NULL}}; #undef KEY_CTRL |