mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
keymap, terminal: more keycodes #9810
- input: recognize <kEqual>, <kComma> - terminal.c: If we need to support function key, a change must be made in libvtermkey. Currently, it emulates strictly VT220 terminal, and returning numeric value in 'normal' mode is the expected behaviour. closes #9810
This commit is contained in:

committed by
Justin M. Keyes

parent
f793c578bc
commit
d13803f64f
@@ -263,6 +263,10 @@ static const struct key_name_entry {
|
||||
{ K_KENTER, "kEnter" },
|
||||
{ K_KENTER, "KPEnter" },
|
||||
{ K_KPOINT, "kPoint" },
|
||||
{ K_KCOMMA, "kComma" },
|
||||
{ K_KCOMMA, "KPComma" },
|
||||
{ K_KEQUAL, "kEqual" },
|
||||
{ K_KEQUAL, "KPEquals" },
|
||||
|
||||
{ K_K0, "k0" },
|
||||
{ K_K1, "k1" },
|
||||
@@ -684,7 +688,7 @@ int find_special_key(const char_u **srcp, const size_t src_len, int *const modp,
|
||||
*modp = modifiers;
|
||||
*srcp = end_of_name;
|
||||
return key;
|
||||
}
|
||||
} // else { ELOG("unknown key: '%s'", src); }
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user