mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: implement keypad application mode
This commit also replaces the previous (temporary) key map with a much more complete one.
This commit is contained in:
parent
9b5c044b29
commit
3dbef02dac
3 changed files with 489 additions and 112 deletions
6
vt.c
6
vt.c
|
|
@ -639,13 +639,11 @@ esc_dispatch(struct terminal *term, uint8_t final)
|
|||
break;
|
||||
|
||||
case '=':
|
||||
/* Other half of xterm's smkx */
|
||||
LOG_WARN("unimplemented: keypad mode change");
|
||||
term->keypad_keys_mode = KEYPAD_APPLICATION;
|
||||
break;
|
||||
|
||||
case '>':
|
||||
/* Other half of xterm's rmkx */
|
||||
LOG_WARN("unimplemented: keypad mode change");
|
||||
term->keypad_keys_mode = KEYPAD_NUMERICAL;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue