mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 13:56:05 +00:00
fix(input): fix macro recording with ALT and special key
(cherry picked from commit d6b309e20b
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
fc4e4b38b2
commit
0c9d666205
@@ -1006,6 +1006,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;
|
||||
|
Reference in New Issue
Block a user