summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-17 00:01:09 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-17 00:01:09 +0000
commit349a62ed4f6ece8a5cf5fd332ba7c9a75777ccb3 (patch)
tree14f1cde029752bdddaecd618a90548e36f46cbfc /input-keys.c
parent1686a15fb6a84e942af9f6850da6a381386b0b89 (diff)
parent775fb562bd0026ca4b2edc9bde99a85e4daf40ed (diff)
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 1e2af6d1..0a18f37e 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -160,7 +160,7 @@ input_key(struct window_pane *wp, key_code key, struct mouse_event *m)
* if necessary. If it is a UTF-8 key, split it and send it.
*/
justkey = (key & ~KEYC_ESCAPE);
- if (key != KEYC_NONE && justkey < 0x7f) {
+ if (key != KEYC_NONE && justkey <= 0x7f) {
if (key & KEYC_ESCAPE)
bufferevent_write(wp->event, "\033", 1);
ud.data[0] = justkey;