mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
input: Prefer keycodes in input_enqueue key translation
This is required to correctly handle certain keys such as <delete>
This commit is contained in:
parent
8f31ebc4f7
commit
2b6ffa61bf
@ -184,7 +184,7 @@ size_t input_enqueue(String keys)
|
||||
|
||||
while (rbuffer_available(input_buffer) >= 6 && ptr < end) {
|
||||
uint8_t buf[6] = {0};
|
||||
unsigned int new_size = trans_special((uint8_t **)&ptr, buf, false);
|
||||
unsigned int new_size = trans_special((uint8_t **)&ptr, buf, true);
|
||||
|
||||
if (!new_size) {
|
||||
if (*ptr == '<') {
|
||||
|
Loading…
Reference in New Issue
Block a user