Apply the xterm key flag when needed for send-keys, fixes problem

reported by Franky Spamschleuder.
This commit is contained in:
nicm
2017-06-28 11:36:39 +00:00
parent 1e376be13d
commit a00b0d13ed
4 changed files with 6 additions and 4 deletions

View File

@@ -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;
}