From 2cf967ee6786776675634459eefdff3dd7d7b778 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 15 May 2020 11:20:12 +0100 Subject: [PATCH] Always set xterm flag. --- cmd-send-keys.c | 4 +--- 1 file changed, 1 insertion(+), 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); }