aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorOlivier G-R <olivier@fractalwire.io>2019-03-29 13:09:54 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-03-31 23:39:06 +0200
commitd13803f64fc5607c6319087240e35a8b86082f64 (patch)
tree3e8e546c1e2cfd6934557e0093e8b0ec827b461f /src/nvim/getchar.c
parentf793c578bc409be65b755c35d347b8c60f777eed (diff)
downloadrneovim-d13803f64fc5607c6319087240e35a8b86082f64.tar.gz
rneovim-d13803f64fc5607c6319087240e35a8b86082f64.tar.bz2
rneovim-d13803f64fc5607c6319087240e35a8b86082f64.zip
keymap, terminal: more keycodes #9810
- input: recognize <kEqual>, <kComma> - 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
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c2
1 files changed, 2 insertions, 0 deletions
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;