Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam 2022-03-01 18:01:10 +00:00
commit bf14bf6259

View File

@ -519,7 +519,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key)
} }
outkey = (key & KEYC_MASK_KEY); outkey = (key & KEYC_MASK_KEY);
modifiers = (key & KEYC_MASK_MODIFIERS); modifiers = (key & KEYC_MASK_MODIFIERS);
if (outkey < ' ') { if (outkey < 32 && outkey != 9 && outkey != 13 && outkey != 27) {
outkey = 64 + outkey; outkey = 64 + outkey;
modifiers |= KEYC_CTRL; modifiers |= KEYC_CTRL;
} }