diff options
| author | Albert Cervin <albert@acervin.com> | 2022-12-18 21:20:19 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2022-12-18 21:20:19 +0100 |
| commit | a817e01bfe2356fdd860010d46db4e4361f343a6 (patch) | |
| tree | f6e34056d236b1df6e6a62573d4f9adf602b0dc7 /src/binding.c | |
| parent | 3deb7c91056779d1f1b2be112e727bc9999ac21d (diff) | |
| download | dged-a817e01bfe2356fdd860010d46db4e4361f343a6.tar.gz dged-a817e01bfe2356fdd860010d46db4e4361f343a6.tar.xz dged-a817e01bfe2356fdd860010d46db4e4361f343a6.zip | |
Fixup utf-8 and meta handling in input
Diffstat (limited to 'src/binding.c')
| -rw-r--r-- | src/binding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binding.c b/src/binding.c index 191bc0d..5147c97 100644 --- a/src/binding.c +++ b/src/binding.c @@ -42,7 +42,7 @@ struct lookup_result lookup_key(struct keymap *keymaps, uint32_t nkeymaps, for (uint32_t bi = 0; bi < keymap->nbindings; ++bi) { struct binding *binding = &keymap->bindings[bi]; - if (key->c == binding->key.c && key->mod == binding->key.mod) { + if (key_equal(key, &binding->key)) { if (binding->type == BindingType_Command) { return (struct lookup_result){ .found = true, |
