diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-15 09:31:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-15 09:31:45 +0000 |
commit | 1d591ada76c049343feab503863cc57308bb1280 (patch) | |
tree | 1f27513b12afaaccabec511ba34755579cc11864 /tmux.1 | |
parent | 2bdc59fac8aef9df6ef53a13e59221153619770d (diff) | |
download | rtmux-1d591ada76c049343feab503863cc57308bb1280.tar.gz rtmux-1d591ada76c049343feab503863cc57308bb1280.tar.bz2 rtmux-1d591ada76c049343feab503863cc57308bb1280.zip |
Support capture-pane -p to send to stdout.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |