aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-09 12:27:26 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-09 12:27:26 +0000
commit3dbef02dac0046e3965c385dc9412730e01f9ead (patch)
tree001d4df09e25ec05c42a90a6edad662798de3362 /vt.c
parentterminal: 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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/vt.c b/vt.c
index 967d2827..b3f5e539 100644
--- a/vt.c
+++ b/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: