diff options
-rw-r--r-- | input-keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/input-keys.c b/input-keys.c index 0451b968..318885b2 100644 --- a/input-keys.c +++ b/input-keys.c @@ -466,7 +466,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key) input_key_write(__func__, bev, &ud.data[0], 1); return (0); } - if (KEYC_IS_UNICODE(justkey)) { + if (KEYC_IS_UNICODE(justkey) && !(key & (KEYC_CTRL | KEYC_SHIFT))) { if (key & KEYC_META) input_key_write(__func__, bev, "\033", 1); utf8_to_data(justkey, &ud); @@ -506,7 +506,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key) } /* No builtin key sequence; construct an extended key sequence. */ - if (~s->mode & MODE_KEXTENDED) { + if ((~s->mode & MODE_KEXTENDED) && 0) { if ((key & KEYC_MASK_MODIFIERS) != KEYC_CTRL) goto missing; justkey = (key & KEYC_MASK_KEY); |