From 501a9fbb5e1ec09c26cf61c464cf5b4ae6dba28a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 22 Mar 2022 19:07:06 +0100 Subject: url-mode: add a key binding that enables “persistent” URL mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is an alternative to ‘show-urls-launch’, where we stay in URL mode after activating an URL. Closes #964 --- terminal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'terminal.h') 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; -- cgit v1.3