From 8db145da1ed40d471e9ecff0e788ced26a43fc92 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 18 Nov 2009 13:16:33 +0000 Subject: 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. --- tmux.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 412b70b0..2fb559e3 100644 --- a/tmux.1 +++ b/tmux.1 @@ -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 -- cgit