summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-18 13:16:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-18 13:16:34 +0000
commite33df98b55285d194871e65c988fd48970c8c06c (patch)
tree71408c50179c862a8bb053a08a0113ecfb8d2539 /usr.bin/tmux/tmux.1
parent7c16973fb374e8a416cc404e2bd93e7d9eca4ec1 (diff)
Add a per-client log of status line messages displayed while that client
exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.116
1 files changed, 15 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 8e74a3026a6..261b083ef0a 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.119 2009/11/18 10:18:25 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.120 2009/11/18 13:16:33 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -454,6 +454,16 @@ with
.D1 (alias: Ic rename )
Rename the session to
.Ar new-name .
+.It Xo Ic show-messages
+.Op Fl t Ar target-client
+.Xc
+.D1 (alias: Ic showmsgs )
+Any messages displayed on the status line are saved in a per-client message
+log, up to a maximum of the limit set by the
+.Ar message-limit
+session option for the session attached to that client.
+This command displays the log for
+.Ar target-client .
.It Ic source-file Ar path
.D1 (alias: Ic source )
Execute commands from
@@ -1373,6 +1383,10 @@ from the 256-colour palette, or
.Ic default .
.It Ic message-fg Ar colour
Set status line message foreground colour.
+.It Ic message-limit Ar number
+Set the number of error or information messages to save in the message log for
+each client.
+The default is 20.
.It Xo Ic mouse-select-pane
.Op Ic on | off
.Xc