mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Only forward extended keys if the application has requested them, even though
we use the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as well.
This commit is contained in:
@ -496,6 +496,8 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key)
|
||||
}
|
||||
|
||||
/* No builtin key sequence; construct an extended key sequence. */
|
||||
if (~s->mode & MODE_KEXTENDED)
|
||||
goto missing;
|
||||
outkey = (key & KEYC_MASK_KEY);
|
||||
if (outkey >= KEYC_BASE) {
|
||||
switch (outkey) {
|
||||
|
Reference in New Issue
Block a user