mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 18:28:56 +00:00
Don't convert codes for special keys (Tab, Enter, Escape).
This commit is contained in:
parent
2da096d828
commit
f39a71aaad
@ -520,7 +520,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key)
|
||||
}
|
||||
outkey = (key & KEYC_MASK_KEY);
|
||||
modifiers = (key & KEYC_MASK_MODIFIERS);
|
||||
if (outkey < ' ') {
|
||||
if (outkey < 32 && outkey != 9 && outkey != 13 && outkey != 27) {
|
||||
outkey = 64 + outkey;
|
||||
modifiers |= KEYC_CTRL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user