mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
Fix #3100. On virtual consoles (Alt-F1, etc.), the Ctrl-Z combination was lost.
This commit is contained in:
parent
e7ab3e7e59
commit
e247e3acdd
@ -139,6 +139,9 @@ static void forward_modified_utf8(TermInput *input, TermKeyKey *key)
|
||||
if (key->type == TERMKEY_TYPE_KEYSYM
|
||||
&& key->code.sym == TERMKEY_SYM_ESCAPE) {
|
||||
len = (size_t)snprintf(buf, sizeof(buf), "<Esc>");
|
||||
} else if (key->type == TERMKEY_TYPE_KEYSYM
|
||||
&& key->code.sym == TERMKEY_SYM_SUSPEND) {
|
||||
len = (size_t)snprintf(buf, sizeof(buf), "<C-Z>");
|
||||
} else {
|
||||
len = termkey_strfkey(input->tk, buf, sizeof(buf), key, TERMKEY_FORMAT_VIM);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user