aboutsummaryrefslogtreecommitdiff
path: root/input-keys.c
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-10-13 11:28:24 -0600
committerJosh Rahm <rahm@google.com>2021-10-13 11:28:24 -0600
commit88ebf5544e995d85b2f1416a216ac7f44f719eed (patch)
treeae75f004241282a316d8b96e43539c960146fa09 /input-keys.c
parentb4b8b2403c43886edf887e76948b770b72471cd0 (diff)
downloadrtmux-master.tar.gz
rtmux-master.tar.bz2
rtmux-master.zip
Add condition that shift+unicode will send an termkey code through Tmux as well.HEADmaster
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c2
1 files changed, 1 insertions, 1 deletions
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);