mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +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);
|
wme = TAILQ_FIRST(&wp->modes);
|
||||||
if (wme == NULL || wme->mode->key_table == NULL) {
|
if (wme == NULL || wme->mode->key_table == NULL) {
|
||||||
if (options_get_number(wp->window->options, "xterm-keys"))
|
if (window_pane_key(wp, tc, s, wl, key|KEYC_XTERM, NULL) != 0)
|
||||||
key |= KEYC_XTERM;
|
|
||||||
if (window_pane_key(wp, tc, s, wl, key, NULL) != 0)
|
|
||||||
return (NULL);
|
return (NULL);
|
||||||
return (item);
|
return (item);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user