aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-03-22 18:07:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-17 09:24:27 +0000
commit501a9fbb5e1ec09c26cf61c464cf5b4ae6dba28a (patch)
treeb14ea152b7d8a93d3533c31c1024cdb059fe2b80 /terminal.h
parentchangelog: scrollback search mode highlights all matches (diff)
url-mode: add a key binding that enables “persistent” URL mode
This is an alternative to ‘show-urls-launch’, where we stay in URL mode after activating an URL. Closes #964
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 76375d8e..042af6dc 100644
--- a/terminal.h
+++ b/terminal.h
@@ -291,7 +291,7 @@ enum overlay_style {
typedef tll(struct ptmx_buffer) ptmx_buffer_list_t;
-enum url_action { URL_ACTION_COPY, URL_ACTION_LAUNCH };
+enum url_action { URL_ACTION_COPY, URL_ACTION_LAUNCH, URL_ACTION_PERSISTENT };
struct url {
uint64_t id;
char *url;