mirror of
https://github.com/tmux/tmux.git
synced 2026-10-08 10:54:28 +00:00
Add link=/nolink to styles to specific a hyperlink. GitHub issue 4280
from Moritz Angermann.
This commit is contained in:
22
tmux.1
22
tmux.1
@@ -7266,6 +7266,28 @@ Set the width of the styled area.
|
||||
.Ar N
|
||||
may be a column count or a percentage (for example
|
||||
.Ql 50% ) .
|
||||
.It Xo Ic link=uri
|
||||
(or
|
||||
.Ic nolink )
|
||||
.Xc
|
||||
Make the styled text an OSC 8 hyperlink to
|
||||
.Ar uri ,
|
||||
for example
|
||||
.Ql #[link=https://example.com]text#[nolink] .
|
||||
This is emitted only to terminals with the
|
||||
.Ic hyperlinks
|
||||
feature (see
|
||||
.Ic terminal-features ) ;
|
||||
it works in the status line and in other formats drawn with styles.
|
||||
The link continues until
|
||||
.Ic nolink ,
|
||||
.Ic default ,
|
||||
or an empty
|
||||
.Ic link=
|
||||
is given.
|
||||
The
|
||||
.Ar uri
|
||||
may not contain spaces or commas and is limited in length.
|
||||
.It Xo Ic list=on ,
|
||||
.Ic list=focus ,
|
||||
.Ic list=left\-marker ,
|
||||
|
||||
Reference in New Issue
Block a user