diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 09:07:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 09:07:06 +0000 |
| commit | 9b5c044b29f31c0cd8a4ffa21d497cd5ccb28404 (patch) | |
| tree | ab748ad05d321b9a4ebbea026e36a9841f8875b4 /input.c | |
| parent | vt: handle ESC correctly in OSC string state (diff) | |
terminal: rename and redefine cursor keys mode and keypad keys mode
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -207,9 +207,9 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, sym, mods, consumed, significant, effective_mods); if (sym < sizeof(key_map) / sizeof(key_map[0]) && - key_map[sym][term->decckm].normal != NULL) + key_map[sym][term->cursor_keys_mode - 1].normal != NULL) { - const struct keymap *key = &key_map[sym][term->decckm]; + const struct keymap *key = &key_map[sym][term->cursor_keys_mode - 1]; const char *esc = NULL; if (effective_mods == 0) |
