diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-30 11:43:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-07 15:33:31 +0000 |
| commit | ee39966dedf9e8fbee5528c324c807b92b9a6c23 (patch) | |
| tree | cb052ec2b5725b5be0fd85071aa58c75b7d3bf1d /config.h | |
| parent | Merge branch 'xassert-performance-regression-2' (diff) | |
config: add infrastructure to handle URL mode specific key bindings
* Add “show-urls” action to regular key bindings
* Add url-bindings section to foot.ini
* Add “cancel” action to URL mode key bindings
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -42,6 +42,12 @@ struct config_key_binding_search { xkb_keysym_t sym; }; +struct config_key_binding_url { + enum bind_action_url action; + struct config_key_modifiers modifiers; + xkb_keysym_t sym; +}; + struct config_mouse_binding { enum bind_action_normal action; struct config_key_modifiers modifiers; @@ -157,6 +163,9 @@ struct config { /* While searching (not - action to *start* a search is in the * 'key' bindings above */ tll(struct config_key_binding_search) search; + + /* While showing URL jump labels */ + tll(struct config_key_binding_url) url; } bindings; struct { |
