diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-18 14:59:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-18 14:59:25 +0000 |
commit | fc6a65c6207dbefcd8b5f187148978f8d4111b2b (patch) | |
tree | 44ab21ea7bf632204830ed4e5516f89dae756dbe /tmux.c | |
parent | 0ca6f667e3e6f26e92db01ee2a769d0ba49509ca (diff) | |
download | rtmux-fc6a65c6207dbefcd8b5f187148978f8d4111b2b.tar.gz rtmux-fc6a65c6207dbefcd8b5f187148978f8d4111b2b.tar.bz2 rtmux-fc6a65c6207dbefcd8b5f187148978f8d4111b2b.zip |
Add three new session options: visual-activity, visual-bell, visual-content. If
these are enabled (and the monitor-activity, bell-actio and monitor-content
options are configurated appropriately), when activity, a bell, or content is
detected, a message is shown.
Also tidy up the bell/activity/content code in server.c slightly and fix a
couple of errors.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -312,6 +312,9 @@ main(int argc, char **argv) options_set_number(&global_s_options, "status-utf8", 1); else options_set_number(&global_s_options, "status-utf8", 0); + options_set_number(&global_s_options, "visual-activity", 0); + options_set_number(&global_s_options, "visual-bell", 0); + options_set_number(&global_s_options, "visual-content", 0); options_init(&global_w_options, NULL); options_set_number(&global_w_options, "aggressive-resize", 0); |