diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-26 15:05:56 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-04-29 15:51:04 +0800 |
commit | abe91e1efec84c47c03a69ab8a998bb16f628084 (patch) | |
tree | 59814a0125ad7ece7476d9473e25e867e8099339 /src/nvim/os/input.c | |
parent | 6832b626ea1b3413c445dfc23f4d921335dfeaf3 (diff) | |
download | rneovim-abe91e1efec84c47c03a69ab8a998bb16f628084.tar.gz rneovim-abe91e1efec84c47c03a69ab8a998bb16f628084.tar.bz2 rneovim-abe91e1efec84c47c03a69ab8a998bb16f628084.zip |
vim-patch:8.2.0855: GUI tests fail because the test doesn't use a modifier
Problem: GUI tests fail because the test doesn't use a modifier.
Solution: Add "\{xxx}" to be able to encode a modifier.
https://github.com/vim/vim/commit/ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf
Change macros to enums to use them in unit tests.
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 a4b8735b9e..f68a1c08c8 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -240,7 +240,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, true, false, false, NULL); + = trans_special((const uint8_t **)&ptr, (size_t)(end - ptr), buf, FSK_KEYCODE, NULL); if (new_size) { new_size = handle_mouse_event(&ptr, buf, new_size); |