aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-07-19 14:35:56 +0000
committerTiago Cunha <tcunha@gmx.com>2009-07-19 14:35:56 +0000
commit376c808b503dbee0991b5eb4027ca6e4f4ece702 (patch)
tree20bca8cda47aa9f12c2908a3629c4e1e3ffc7478 /tmux.c
parent4cf6396e4cebf12b9d24cd23bd4246e6f6f1c1ba (diff)
downloadrtmux-376c808b503dbee0991b5eb4027ca6e4f4ece702.tar.gz
rtmux-376c808b503dbee0991b5eb4027ca6e4f4ece702.tar.bz2
rtmux-376c808b503dbee0991b5eb4027ca6e4f4ece702.zip
Add three new session options: visual-activity, visual-bell, visual-content.
If these are enabled (and the monitor-activity, bell-action 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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index c1a7f5f3..048f5b65 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.143 2009-07-18 11:05:13 nicm Exp $ */
+/* $Id: tmux.c,v 1.144 2009-07-19 14:35:56 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -321,6 +321,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);