aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-05-20 10:01:19 +0100
committerThomas Adam <thomas@xteddy.org>2020-05-20 10:01:19 +0100
commit5ac5cd995e3f3c3914c9d069f4bfc643ee3f78c0 (patch)
treef5923c958035cec3ba5057a7e5f5c8833a99c704 /key-bindings.c
parentfa835339fdc9a5647cd90549840029c480edbf90 (diff)
parent6bde1c183766d0637633c1460cf6b17b57bc0280 (diff)
downloadrtmux-5ac5cd995e3f3c3914c9d069f4bfc643ee3f78c0.tar.gz
rtmux-5ac5cd995e3f3c3914c9d069f4bfc643ee3f78c0.tar.bz2
rtmux-5ac5cd995e3f3c3914c9d069f4bfc643ee3f78c0.zip
Merge branch 'obsd-master'
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c
index 59cfbb0d..a518fbd8 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -197,7 +197,7 @@ key_bindings_add(const char *name, key_code key, const char *note, int repeat,
}
bd = xcalloc(1, sizeof *bd);
- bd->key = key;
+ bd->key = (key & ~KEYC_MASK_FLAGS);
if (note != NULL)
bd->note = xstrdup(note);
RB_INSERT(key_bindings, &table->key_bindings, bd);