summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-03-28 20:17:40 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-03-28 20:17:40 +0000
commit09ceaf6952fde41603b8242b2eae9907cae951a9 (patch)
treeea9888290c5fd0cfba81bedc411fa11ff483b805 /usr.bin/tmux/tmux.1
parent626df37bacde6a1b9b7b102f55347fd04cc7e5ca (diff)
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.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.113
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index c37b5a1402c..005fd88abb6 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.212 2011/03/27 20:27:26 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.213 2011/03/28 20:17:39 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 27 2011 $
+.Dd $Mdocdate: March 28 2011 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -953,11 +953,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