Support capture-pane -p to send to stdout.

This commit is contained in:
Nicholas Marriott
2013-02-15 09:31:45 +00:00
parent 2bdc59fac8
commit 1d591ada76
2 changed files with 43 additions and 22 deletions

12
tmux.1
View File

@ -1040,14 +1040,22 @@ By default, it uses the format
but a different format may be specified with
.Fl F .
.It Xo Ic capture-pane
.Op Fl p
.Op Fl b Ar buffer-index
.Op Fl c Ar target-client
.Op Fl E Ar end-line
.Op Fl S Ar start-line
.Op Fl t Ar target-pane
.Xc
.D1 (alias: Ic capturep )
Capture the contents of a pane to the specified buffer, or a new buffer if none
is specified.
Capture the contents of a pane.
If
.Fl p
is given, the output goes to
.Ar target-client
stdout, otherwise to the buffer specified with
.Fl b
or a new buffer if omitted.
.Pp
.Fl S
and