diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-07-19 14:35:56 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-07-19 14:35:56 +0000 |
commit | 376c808b503dbee0991b5eb4027ca6e4f4ece702 (patch) | |
tree | 20bca8cda47aa9f12c2908a3629c4e1e3ffc7478 /tmux.c | |
parent | 4cf6396e4cebf12b9d24cd23bd4246e6f6f1c1ba (diff) | |
download | rtmux-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |