Add -H flag to capture-pane to show hyperlinks.

This commit is contained in:
nicm
2026-06-07 20:03:02 +00:00
parent ae5e0e8c05
commit a532f4868f
4 changed files with 83 additions and 13 deletions

12
tmux.1
View File

@@ -2666,7 +2666,7 @@ but a different format may be specified with
.Fl F .
.Tg capturep
.It Xo Ic capture\-pane
.Op Fl aeFLpPqCJMN
.Op Fl aeFHLpPqCJMN
.Op Fl b Ar buffer\-name
.Op Fl E Ar end\-line
.Op Fl S Ar start\-line
@@ -2717,9 +2717,15 @@ is an unused line,
.Ql O
is a line marked as output,
.Ql P
is a line marked as a prompt and
is a line marked as a prompt,
.Ql X
is a line containing extended cells).
is a line containing extended cells and
.Ql H
is a line with hyperlinks).
With
.Fl H ,
only hyperlinks in the specified lines are captured.
Multiple hyperlinks on the same line are separated by spaces.
.Pp
.Fl S
and