mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
search: replace hard-coded key bindings with "user configurable" ones
They aren't really user configurable. At least not yet. However, with this, we now handle raw key codes just like the normal key bindings. Meaning, e.g. ctrl+g, ctrl+a, ctrl+e etc now works while searching with e.g. a russian layout.
This commit is contained in:
parent
a69b818a62
commit
0419156494
7 changed files with 238 additions and 177 deletions
8
input.h
8
input.h
|
|
@ -10,9 +10,5 @@ extern const struct wl_pointer_listener pointer_listener;
|
|||
|
||||
void input_repeat(struct wayland *wayl, uint32_t key);
|
||||
|
||||
bool input_parse_key_binding_for_action(
|
||||
struct xkb_keymap *keymap, enum binding_action action,
|
||||
const char *combos, key_binding_list_t *bindings);
|
||||
|
||||
void input_execute_binding(
|
||||
struct terminal *term, enum binding_action action, uint32_t serial);
|
||||
bool input_parse_key_binding(struct xkb_keymap *keymap, const char *combos,
|
||||
key_binding_list_t *bindings);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue