mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
terminal: rename and redefine cursor keys mode and keypad keys mode
This commit is contained in:
parent
d90ea88aa2
commit
9b5c044b29
4 changed files with 10 additions and 10 deletions
4
input.c
4
input.c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue