aboutsummaryrefslogtreecommitdiff
path: root/url-mode.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-04 19:55:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 15:33:32 +0000
commit93181649b32249f572bc4c6892c99155186fc714 (patch)
treeac301af02c3aa4482c7b4ffe4c5c4c4f318ba832 /url-mode.h
parentconfig: show-urls-launch: change default key binding to ctrl+shift+u (diff)
config: add show-urls-copy action
This works just like show-urls-launch, except that instead of opening the URL (typically using xdg-open), it is placed in the clipboard when activated.
Diffstat (limited to 'url-mode.h')
-rw-r--r--url-mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/url-mode.h b/url-mode.h
index 150a0222..94c1e675 100644
--- a/url-mode.h
+++ b/url-mode.h
@@ -11,7 +11,7 @@ static inline bool urls_mode_is_active(const struct terminal *term)
return tll_length(term->urls) > 0;
}
-void urls_collect(struct terminal *term);
+void urls_collect(struct terminal *term, enum url_action action);
void urls_reset(struct terminal *term);
void urls_input(struct seat *seat, struct terminal *term, uint32_t key,