From fc6a65c6207dbefcd8b5f187148978f8d4111b2b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 18 Jul 2009 14:59:25 +0000 Subject: 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. --- tmux.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux.c') 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); -- cgit