diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-13 10:43:28 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-13 10:43:28 +0000 |
| commit | c7006661f5edc55cf235a647da67e0e26e7fe594 (patch) | |
| tree | 1a8df05cc5fc9f12fb5359448aa8af7a6a4ad532 /url-mode.h | |
| parent | doc: foot.ini.5: document jump-label-letters (diff) | |
url-mode: use ‘jump-label-letters’ as the alphabet for key sequences
Instead of hard coding the alphabet to “sadfjklewcmpgh”, use the
letters from ‘jump-label-letters’.
Closes #355
Diffstat (limited to 'url-mode.h')
| -rw-r--r-- | url-mode.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include <xkbcommon/xkbcommon.h> #include <tllist.h> +#include "config.h" #include "terminal.h" static inline bool urls_mode_is_active(const struct terminal *term) @@ -13,7 +14,7 @@ static inline bool urls_mode_is_active(const struct terminal *term) void urls_collect( const struct terminal *term, enum url_action action, url_list_t *urls); -void urls_assign_key_combos(url_list_t *urls); +void urls_assign_key_combos(const struct config *conf, url_list_t *urls); void urls_render(struct terminal *term); void urls_reset(struct terminal *term); |
