aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-18 14:59:25 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-18 14:59:25 +0000
commitfc6a65c6207dbefcd8b5f187148978f8d4111b2b (patch)
tree44ab21ea7bf632204830ed4e5516f89dae756dbe /tmux.c
parent0ca6f667e3e6f26e92db01ee2a769d0ba49509ca (diff)
downloadrtmux-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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index a5edb460..5cca15f6 100644
--- a/tmux.c
+++ b/tmux.c
@@ -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);