diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-18 13:16:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-11-18 13:16:34 +0000 |
commit | e33df98b55285d194871e65c988fd48970c8c06c (patch) | |
tree | 71408c50179c862a8bb053a08a0113ecfb8d2539 /usr.bin/tmux/tmux.c | |
parent | 7c16973fb374e8a416cc404e2bd93e7d9eca4ec1 (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.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 62a983063c1..d9872a72d54 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.57 2009/11/10 18:53:11 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.58 2009/11/18 13:16:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |