summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-18 13:16:33 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-18 13:16:33 +0000
commit8db145da1ed40d471e9ecff0e788ced26a43fc92 (patch)
treefdb41dfba63f5cb24ad9607c1e28abb58179f27c /tmux.c
parent68f5c9c72da0c4430733de2094fbb8bc4d1e0474 (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 'tmux.c')
-rw-r--r--tmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index 30e1bc60..de2f3d12 100644
--- a/tmux.c
+++ b/tmux.c
@@ -332,6 +332,7 @@ main(int argc, char **argv)
options_set_number(so, "message-attr", 0);
options_set_number(so, "message-bg", 3);
options_set_number(so, "message-fg", 0);
+ options_set_number(so, "message-limit", 20);
options_set_number(so, "mouse-select-pane", 0);
options_set_number(so, "repeat-time", 500);
options_set_number(so, "set-remain-on-exit", 0);