diff options
author | nicm <nicm> | 2021-06-10 07:21:09 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-06-10 07:21:09 +0000 |
commit | e5106bfb9660d5c9470acf9defa1084c61a070d4 (patch) | |
tree | dba88c7dde7c1e4a065df2312d049f46de128187 /key-bindings.c | |
parent | 33f9b08bbb043e1fdf5638a6ae517ab7f5e4547a (diff) |
Add another couple of keys needed for extended keys, GitHub issue 2658.
Handle modifier 9 as Meta, GitHub issue 2647.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c index b47f6ff7..467c7f93 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -215,6 +215,9 @@ key_bindings_add(const char *name, key_code key, const char *note, int repeat, if (repeat) bd->flags |= KEY_BINDING_REPEAT; bd->cmdlist = cmdlist; + + log_debug("%s: %#llx %s = %s", __func__, bd->key, + key_string_lookup_key(bd->key, 1), cmd_list_print(bd->cmdlist, 0)); } void @@ -231,6 +234,9 @@ key_bindings_remove(const char *name, key_code key) if (bd == NULL) return; + log_debug("%s: %#llx %s", __func__, bd->key, + key_string_lookup_key(bd->key, 1)); + RB_REMOVE(key_bindings, &table->key_bindings, bd); key_bindings_free(bd); |