diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-18 13:16:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-18 13:16:33 +0000 |
commit | 8db145da1ed40d471e9ecff0e788ced26a43fc92 (patch) | |
tree | fdb41dfba63f5cb24ad9607c1e28abb58179f27c /cmd-set-option.c | |
parent | 68f5c9c72da0c4430733de2094fbb8bc4d1e0474 (diff) | |
download | rtmux-8db145da1ed40d471e9ecff0e788ced26a43fc92.tar.gz rtmux-8db145da1ed40d471e9ecff0e788ced26a43fc92.tar.bz2 rtmux-8db145da1ed40d471e9ecff0e788ced26a43fc92.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 'cmd-set-option.c')
-rw-r--r-- | cmd-set-option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index 2e00c8d7..0a06c620 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -67,6 +67,7 @@ const struct set_option_entry set_option_table[] = { { "message-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL }, { "message-bg", SET_OPTION_COLOUR, 0, 0, NULL }, { "message-fg", SET_OPTION_COLOUR, 0, 0, NULL }, + { "message-limit", SET_OPTION_NUMBER, 0, INT_MAX, NULL }, { "mouse-select-pane", SET_OPTION_FLAG, 0, 0, NULL }, { "prefix", SET_OPTION_KEYS, 0, 0, NULL }, { "repeat-time", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL }, |