summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-28 11:36:39 +0000
committernicm <nicm>2017-06-28 11:36:39 +0000
commita00b0d13ede4a0f3743606c79a38eada403f77f9 (patch)
tree374ff3593c70c8e4c062a2619101430423346de6 /window.c
parent1e376be13d3ed6bd850b15d0292d73d47ad07e94 (diff)
Apply the xterm key flag when needed for send-keys, fixes problem
reported by Franky Spamschleuder.
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index 4b59f205..ce5166c8 100644
--- a/window.c
+++ b/window.c
@@ -1226,7 +1226,7 @@ window_pane_key(struct window_pane *wp, struct client *c, struct session *s,
if (wp->mode != NULL) {
wp->modelast = time(NULL);
if (wp->mode->key != NULL)
- wp->mode->key(wp, c, s, key, m);
+ wp->mode->key(wp, c, s, (key & ~KEYC_XTERM), m);
return;
}