mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 02:48:47 +00:00
Always set xterm flag.
This commit is contained in:
parent
e95b644139
commit
2cf967ee67
@ -71,9 +71,7 @@ cmd_send_keys_inject_key(struct cmdq_item *item, struct cmdq_item *after,
|
||||
|
||||
wme = TAILQ_FIRST(&wp->modes);
|
||||
if (wme == NULL || wme->mode->key_table == NULL) {
|
||||
if (options_get_number(wp->window->options, "xterm-keys"))
|
||||
key |= KEYC_XTERM;
|
||||
if (window_pane_key(wp, tc, s, wl, key, NULL) != 0)
|
||||
if (window_pane_key(wp, tc, s, wl, key|KEYC_XTERM, NULL) != 0)
|
||||
return (NULL);
|
||||
return (item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user