aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-19 22:20:04 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-19 22:20:04 +0000
commitacc331c787f4d85c0909563139f7cc81c54edc55 (patch)
treea60e276b1f7ffffe8f5dec00fac1c721ae4121d2 /tmux.c
parent8777a809dc06282c74fad56d2b76c9c2770c89d4 (diff)
downloadrtmux-acc331c787f4d85c0909563139f7cc81c54edc55.tar.gz
rtmux-acc331c787f4d85c0909563139f7cc81c54edc55.tar.bz2
rtmux-acc331c787f4d85c0909563139f7cc81c54edc55.zip
Sync OpenBSD patchset 546:
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 9d3ecaa5..1e459276 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.188 2009-11-11 09:54:07 nicm Exp $ */
+/* $Id: tmux.c,v 1.189 2009-11-19 22:20:04 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -335,6 +335,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);