From d13803f64fc5607c6319087240e35a8b86082f64 Mon Sep 17 00:00:00 2001 From: Olivier G-R Date: Fri, 29 Mar 2019 13:09:54 +0100 Subject: keymap, terminal: more keycodes #9810 - input: recognize , - terminal.c: If we need to support function key, a change must be made in libvtermkey. Currently, it emulates strictly VT220 terminal, and returning numeric value in 'normal' mode is the expected behaviour. closes #9810 --- src/nvim/getchar.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/getchar.c') diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 87a8d9b53e..c29ef9f822 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1431,6 +1431,8 @@ int vgetc(void) case K_KMULTIPLY: c = '*'; break; case K_KENTER: c = CAR; break; case K_KPOINT: c = '.'; break; + case K_KCOMMA: c = ','; break; + case K_KEQUAL: c = '='; break; case K_K0: c = '0'; break; case K_K1: c = '1'; break; case K_K2: c = '2'; break; -- cgit