diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-15 11:20:12 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-15 11:20:12 +0100 |
commit | 2cf967ee6786776675634459eefdff3dd7d7b778 (patch) | |
tree | 518514746dc2889086519a9e6fe745784775c0d0 | |
parent | e95b6441396c96c7a9fbf115c2497198cd063ab0 (diff) | |
download | rtmux-2cf967ee6786776675634459eefdff3dd7d7b778.tar.gz rtmux-2cf967ee6786776675634459eefdff3dd7d7b778.tar.bz2 rtmux-2cf967ee6786776675634459eefdff3dd7d7b778.zip |
Always set xterm flag.
-rw-r--r-- | cmd-send-keys.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c index afaf0a81..27ca8a63 100644 --- a/cmd-send-keys.c +++ b/cmd-send-keys.c @@ -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); } |