diff options
author | 2009-11-18 13:16:33 +0000 | |
---|---|---|
committer | 2009-11-18 13:16:33 +0000 | |
commit | dca899ea8fbdacd4bc69967850ea2038e43b795f (patch) | |
tree | ca4f55f872b96a1e1ec71af4cc3779d3239bfe4f /usr.bin/tmux/tmux.c | |
parent | Mark -n keys with (no prefix) rather than []. (diff) | |
download | wireguard-openbsd-dca899ea8fbdacd4bc69967850ea2038e43b795f.tar.xz wireguard-openbsd-dca899ea8fbdacd4bc69967850ea2038e43b795f.zip |
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); |