aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input-keys.c b/input-keys.c
index b4770808..100ec6d7 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -452,7 +452,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)) {
if (key & KEYC_META)
input_key_write(__func__, bev, "\033", 1);
utf8_to_data(justkey, &ud);
@@ -484,7 +484,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);