From 88ebf5544e995d85b2f1416a216ac7f44f719eed Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 13 Oct 2021 11:28:24 -0600 Subject: Add condition that shift+unicode will send an termkey code through Tmux as well. --- input-keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input-keys.c') diff --git a/input-keys.c b/input-keys.c index 100ec6d7..ebdf0384 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) && !(key & KEYC_CTRL)) { + 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); -- cgit