summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-03-01 18:01:10 +0000
committerThomas Adam <thomas@xteddy.org>2022-03-01 18:01:10 +0000
commitbf14bf6259a03d83502e281a34d88296faaa02dc (patch)
tree5fe3dbd950727283c9a0d4e1208f36629c2cc2ff
parentcd9a81e24239d9373723c6ea66698be2cbbc8fb1 (diff)
parentf39a71aaade384d47917349f9d0b8dd709e8262e (diff)
Merge branch 'obsd-master' into master
-rw-r--r--input-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c
index f478cb95..feb62f6d 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -519,7 +519,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key)
}
outkey = (key & KEYC_MASK_KEY);
modifiers = (key & KEYC_MASK_MODIFIERS);
- if (outkey < ' ') {
+ if (outkey < 32 && outkey != 9 && outkey != 13 && outkey != 27) {
outkey = 64 + outkey;
modifiers |= KEYC_CTRL;
}