diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-06-10 17:13:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 17:13:57 +0800 |
commit | e15d31b530c443daea04d7a772b24da737397c53 (patch) | |
tree | f96b0e467be8cfe832f3766a4d4062a4dc78cde7 /src | |
parent | 6eaf10502c99e96704daa07987f73658d6c4d68a (diff) | |
download | rneovim-e15d31b530c443daea04d7a772b24da737397c53.tar.gz rneovim-e15d31b530c443daea04d7a772b24da737397c53.tar.bz2 rneovim-e15d31b530c443daea04d7a772b24da737397c53.zip |
fix(input): fix macro recording with ALT and special key (#18917)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/getchar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 6b716c2e1f..9f223bf750 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1007,6 +1007,7 @@ int ins_char_typebuf(int c, int modifier) buf[len + 1] = (char_u)K_SECOND(c); buf[len + 2] = (char_u)K_THIRD(c); buf[len + 3] = NUL; + len += 3; } else { char_u *end = add_char2buf(c, buf + len); *end = NUL; |