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.
This commit is contained in:
Nicholas Marriott
2009-07-18 14:59:25 +00:00
parent 0ca6f667e3
commit fc6a65c620
5 changed files with 104 additions and 18 deletions

4
tmux.h
View File

@ -644,8 +644,8 @@ struct window {
#define WINDOW_BELL 0x1
#define WINDOW_HIDDEN 0x2
#define WINDOW_ACTIVITY 0x4
#define WINDOW_CONTENT 0x6
#define WINDOW_REDRAW 0x8
#define WINDOW_CONTENT 0x8
#define WINDOW_REDRAW 0x10
struct options options;