| ... | ... |
@@ -152,6 +152,10 @@ static void action_prev(tty_interface_t *state) {
|
| 152 | 152 |
choices_prev(state->choices); |
| 153 | 153 |
} |
| 154 | 154 |
|
| 155 |
+static void action_ignore(tty_interface_t *state) {
|
|
| 156 |
+ (void) state; |
|
| 157 |
+} |
|
| 158 |
+ |
|
| 155 | 159 |
static void action_next(tty_interface_t *state) {
|
| 156 | 160 |
update_state(state); |
| 157 | 161 |
choices_next(state->choices); |
| ... | ... |
@@ -236,6 +240,8 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */
|
| 236 | 240 |
{"\x1bOB", action_next}, /* DOWN */
|
| 237 | 241 |
{"\x1b[5~", action_pageup},
|
| 238 | 242 |
{"\x1b[6~", action_pagedown},
|
| 243 |
+ {"\x1b[200~", action_ignore},
|
|
| 244 |
+ {"\x1b[201~", action_ignore},
|
|
| 239 | 245 |
{NULL, NULL}};
|
| 240 | 246 |
|
| 241 | 247 |
#undef KEY_CTRL |