diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 12:27:26 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 12:27:26 +0000 |
| commit | 3dbef02dac0046e3965c385dc9412730e01f9ead (patch) | |
| tree | 001d4df09e25ec05c42a90a6edad662798de3362 /vt.c | |
| parent | terminal: rename and redefine cursor keys mode and keypad keys mode (diff) | |
input: implement keypad application mode
This commit also replaces the previous (temporary) key map with a much
more complete one.
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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: |
