aboutsummaryrefslogtreecommitdiff
path: root/url-mode.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-13 10:43:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-13 10:43:28 +0000
commitc7006661f5edc55cf235a647da67e0e26e7fe594 (patch)
tree1a8df05cc5fc9f12fb5359448aa8af7a6a4ad532 /url-mode.h
parentdoc: 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/url-mode.h b/url-mode.h
index 12d20192..28abde18 100644
--- a/url-mode.h
+++ b/url-mode.h
@@ -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);