aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-28 14:39:53 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-28 14:39:53 +0000
commit5f366e6d54c4825eb760424f86388e8813bb6189 (patch)
treed989ec947af3c4b21a31029ac99bec1a87936bc4 /tmux.1
parenta3024f3d2a36beaa08d0b1c6faba076776ebf221 (diff)
downloadrtmux-5f366e6d54c4825eb760424f86388e8813bb6189.tar.gz
rtmux-5f366e6d54c4825eb760424f86388e8813bb6189.tar.bz2
rtmux-5f366e6d54c4825eb760424f86388e8813bb6189.zip
Sync OpenBSD patchset 561:
Add a -p flag to display-message to print the output rather than displaying in the status line, this allows things like "display -p '#W'" to find the current window index.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 9 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index ada46435..3b035009 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.208 2009-11-28 14:38:30 tcunha Exp $
+.\" $Id: tmux.1,v 1.209 2009-11-28 14:39:53 tcunha 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 22 2009 $
+.Dd $Mdocdate: November 24 2009 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -2011,11 +2011,17 @@ Ask for confirmation before executing
This command works only from inside
.Nm .
.It Xo Ic display-message
+.Op Fl p
.Op Fl t Ar target-client
.Op Ar message
.Xc
.D1 (alias: Ic display )
-Display a message in the status line.
+Display a message.
+If
+.Fl p
+is given, the output is printed to stdout, otherwise it is displayed in the
+.Ar target-client
+status line.
The format of
.Ar message
is as for