summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-12-01 18:42:39 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-12-01 18:42:39 +0000
commitbaf81185692d7126104116315f87b9b485d36a99 (patch)
tree30973ef97241a232cdee7f325aa040a93a1ac73f /usr.bin/tmux/tmux.1
parent6edf83765acea0cf39651984ded48f7dddcf8a9a (diff)
New command, capture-pane, which copies the entire pane contents to a paste
buffer. From Jonathan Alvarado.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.111
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 447d3388ad7..8794aca6d62 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.127 2009/11/24 19:16:11 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.128 2009/12/01 18:42:38 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: November 24 2009 $
+.Dd $Mdocdate: December 1 2009 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -664,6 +664,13 @@ off from its containing window to make it the only pane in a new window.
If
.Fl d
is given, the new window does not become the current window.
+.It Xo Ic capture-pane
+.Op Fl b Ar buffer-index
+.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.
.It Xo
.Ic choose-client
.Op Fl t Ar target-window