diff options
author | lePerdu <zdpeltzer@gmail.com> | 2017-10-18 18:27:31 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-01-18 01:37:51 +0100 |
commit | bc17ad31dccb446fc24e0f6bb3cb2149ce951ae5 (patch) | |
tree | b1dcb4b23fe3d7addd300abc532ebe215b546a5a /src/nvim/os/input.c | |
parent | 8fc437ef43dbaccf873c9af448495387410e465c (diff) | |
download | rneovim-bc17ad31dccb446fc24e0f6bb3cb2149ce951ae5.tar.gz rneovim-bc17ad31dccb446fc24e0f6bb3cb2149ce951ae5.tar.bz2 rneovim-bc17ad31dccb446fc24e0f6bb3cb2149ce951ae5.zip |
os/input.c: parse keycodes in non-string context #7411
cb02137dfac7 had two mistakes, of the same nature: trans_special() must
be invoked with in_string=false unless the parsing context is a VimL
string. replace_termcodes() and input_enqueue() are low-level
mechanisms where VimL strings do not exist.
keymap.c: adjust double-quote case to satisfy keymap_spec.lua
closes #7410
Diffstat (limited to 'src/nvim/os/input.c')
-rw-r--r-- | src/nvim/os/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c index 7d6f2abd7f..405500767d 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -188,7 +188,7 @@ size_t input_enqueue(String keys) uint8_t buf[6] = { 0 }; unsigned int new_size = trans_special((const uint8_t **)&ptr, (size_t)(end - ptr), buf, true, - true); + false); if (new_size) { new_size = handle_mouse_event(&ptr, buf, new_size); |