aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/input.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-05-03 07:30:12 +0800
committerGitHub <noreply@github.com>2022-05-03 07:30:12 +0800
commitcf474021ed44f197da3c67214fcb95a20886799c (patch)
treebff933e965afcb939aaacdad6b44f00eae9a25cf /src/nvim/os/input.c
parentddf7bb24f98b468d2bc6c16c6f300570fc6530f5 (diff)
parent15602a7ce49a2f39666aa6a4f3289683835e83dd (diff)
downloadrneovim-cf474021ed44f197da3c67214fcb95a20886799c.tar.gz
rneovim-cf474021ed44f197da3c67214fcb95a20886799c.tar.bz2
rneovim-cf474021ed44f197da3c67214fcb95a20886799c.zip
Merge pull request #18381 from zeertzjq/vim-8.2.4858
vim-patch:8.2.4858: K_SPECIAL may be escaped twice
Diffstat (limited to 'src/nvim/os/input.c')
-rw-r--r--src/nvim/os/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c
index 9ee2f57b3d..437baf0e08 100644
--- a/src/nvim/os/input.c
+++ b/src/nvim/os/input.c
@@ -247,7 +247,7 @@ size_t input_enqueue(String keys)
uint8_t buf[19] = { 0 };
// Do not simplify the keys here. Simplification will be done later.
unsigned int new_size
- = trans_special((const uint8_t **)&ptr, (size_t)(end - ptr), buf, FSK_KEYCODE, NULL);
+ = trans_special((const uint8_t **)&ptr, (size_t)(end - ptr), buf, FSK_KEYCODE, true, NULL);
if (new_size) {
new_size = handle_mouse_event(&ptr, buf, new_size);