aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input-keys.c b/input-keys.c
index eb2879a9..01b00b05 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -201,6 +201,7 @@ input_key(struct window_pane *wp, key_code key, struct mouse_event *m)
return;
}
}
+ key &= ~KEYC_XTERM;
/* Otherwise look the key up in the table. */
for (i = 0; i < nitems(input_keys); i++) {