aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-06-28 14:01:13 +0100
committerThomas Adam <thomas@xteddy.org>2017-06-28 14:01:13 +0100
commit336beeb09afcc8f381062da49a4c23c6d16a9833 (patch)
treef8a9e6817fe5b84b52b1dd9ee4086a1099895460 /input-keys.c
parent1ca920bbebd5fb418089752aa595e4e5696e28bc (diff)
parenta00b0d13ede4a0f3743606c79a38eada403f77f9 (diff)
downloadrtmux-336beeb09afcc8f381062da49a4c23c6d16a9833.tar.gz
rtmux-336beeb09afcc8f381062da49a4c23c6d16a9833.tar.bz2
rtmux-336beeb09afcc8f381062da49a4c23c6d16a9833.zip
Merge branch 'obsd-master'
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c
index 3aa0b557..85dc2591 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -176,7 +176,7 @@ input_key(struct window_pane *wp, key_code key, struct mouse_event *m)
* If this is a normal 7-bit key, just send it, with a leading escape
* if necessary. If it is a UTF-8 key, split it and send it.
*/
- justkey = (key & ~KEYC_ESCAPE);
+ justkey = (key & ~(KEYC_XTERM|KEYC_ESCAPE));
if (justkey <= 0x7f) {
if (key & KEYC_ESCAPE)
bufferevent_write(wp->event, "\033", 1);