mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
refactor: remove char_u (#22829)
Closes https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1955,7 +1955,7 @@ static void insert_special(int c, int allow_modmask, int ctrlv)
|
||||
allow_modmask = true;
|
||||
}
|
||||
if (IS_SPECIAL(c) || (mod_mask && allow_modmask)) {
|
||||
char *p = (char *)get_special_key_name(c, mod_mask);
|
||||
char *p = get_special_key_name(c, mod_mask);
|
||||
int len = (int)strlen(p);
|
||||
c = (uint8_t)p[len - 1];
|
||||
if (len > 2) {
|
||||
|
Reference in New Issue
Block a user