|PatchSet 874

|Date: 2011/03/28 21:17:39
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Allow a start and end line to be specified for capture-pane which may be
|negative to capture part of the history. Prompted by request from Victor
|J Orlikowski.
This commit is contained in:
Nicholas Marriott
2011-04-06 22:19:42 +00:00
parent 8ab7fcf7eb
commit 0a2b3492c3
2 changed files with 45 additions and 8 deletions

11
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.297 2011-04-06 22:16:33 nicm Exp $
.\" $Id: tmux.1,v 1.298 2011-04-06 22:19:42 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -957,11 +957,20 @@ If
is given, the new window does not become the current window.
.It Xo Ic capture-pane
.Op Fl b Ar buffer-index
.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.
.Pp
.Fl S
and
.Fl E
specify the starting and ending line numbers, zero is the first line of the
visible pane and negative numbers are lines in the history.
The default is to capture only the visible contents of the pane.
.It Xo
.Ic choose-client
.Op Fl t Ar target-window