diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-21 18:43:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-21 18:43:34 +0000 |
commit | 78543cce30245c3450adc31c8787373c5ca93e38 (patch) | |
tree | c8aa1fbd6fb01063c28b7d0c1af2a748c240eaaf /tmux.1 | |
parent | 55bf2ecc68ad7ab5763def321669375764b3983a (diff) |
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
@@ -1036,14 +1036,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 |