mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Always set xterm flag.
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user