diff options
author | Wynn Wolf Arbor | 2020-03-28 15:10:55 +0100 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-04-13 15:45:26 +0200 |
commit | 30bbf529ad3073fd449c7f9331a889b114fad1e1 (patch) | |
tree | de43218ab0a4e4fc12816251144b55010e8c01a4 /weltschmerz.1 | |
parent | bed4cae59bfd5ac100caa3a4ac795f33598b6ab0 (diff) | |
download | weltschmerz-30bbf529ad3073fd449c7f9331a889b114fad1e1.tar.gz |
Add OSC 8 hyperlink support
This commit adds support for the OSC 8 hyperlink escape sequence [1]. As
this is not a mature feature and there seem to be outstanding security
concerns [2], the setting that controls whether or not OSC 8 is
interpreted is disabled by default.
Just like gnome-terminal, weltschmerz will display a tooltip with the
canonicalized URI when hovering over a hyperlink.
[1] https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
[2] https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#security
Diffstat (limited to 'weltschmerz.1')
-rw-r--r-- | weltschmerz.1 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/weltschmerz.1 b/weltschmerz.1 index f754253..f2481c8 100644 --- a/weltschmerz.1 +++ b/weltschmerz.1 @@ -1,4 +1,4 @@ -.Dd January 17, 2020 +.Dd March 28, 2020 .Dt WELTSCHMERZ 1 .Os .Sh NAME @@ -13,8 +13,8 @@ .Sh DESCRIPTION .Nm is a terminal emulator using the VTE widget. -It supports clickable URLs, contains basic search functionality, and can -reload its configuration whilst running. +It supports clickable URLs and hyperlinks, contains basic search functionality, +and can reload its configuration whilst running. .Pp .Nm executes the given command, or the program specified in the @@ -82,6 +82,16 @@ The options for the .Em misc group are as follows: .Bl -tag -width Ds +.It Sy allow-hyperlinks +When set to +.Sy true , +.Nm +will highlight and process OSC 8 hyperlinks. +When set to +.Sy false , +hyperlink support will be disabled completely. +The default is +.Sy false . .It Sy autohide-mouse When set to .Sy true , |