From 3dbef02dac0046e3965c385dc9412730e01f9ead Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 9 Jul 2019 14:27:26 +0200 Subject: input: implement keypad application mode This commit also replaces the previous (temporary) key map with a much more complete one. --- vt.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vt.c') 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: -- cgit v1.3