From baf81185692d7126104116315f87b9b485d36a99 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 1 Dec 2009 18:42:39 +0000 Subject: New command, capture-pane, which copies the entire pane contents to a paste buffer. From Jonathan Alvarado. --- usr.bin/tmux/tmux.1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/tmux.1') 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 .\" @@ -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 -- cgit v1.2.3