mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Fix a couple more places where the key flags need to be masked off.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user