diff options
author | 2010-12-06 22:51:02 +0000 | |
---|---|---|
committer | 2010-12-06 22:51:02 +0000 | |
commit | 74744db4b4f8b387391b0c0b16511707eb06abed (patch) | |
tree | a631720bceb5bb8cdaac79f41925d615f9c409b1 /usr.bin/tmux/cmd-set-option.c | |
parent | add missing header needed by futimes() (diff) | |
download | wireguard-openbsd-74744db4b4f8b387391b0c0b16511707eb06abed.tar.xz wireguard-openbsd-74744db4b4f8b387391b0c0b16511707eb06abed.zip |
Add an option to alert (monitor) for silence (lack of activity) in a
window. From Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/cmd-set-option.c')
-rw-r--r-- | usr.bin/tmux/cmd-set-option.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c index ebc0f709564..8c9d40572d9 100644 --- a/usr.bin/tmux/cmd-set-option.c +++ b/usr.bin/tmux/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-option.c,v 1.39 2010/09/26 20:43:30 nicm Exp $ */ +/* $OpenBSD: cmd-set-option.c,v 1.40 2010/12/06 22:51:02 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -136,6 +136,7 @@ const struct set_option_entry set_session_option_table[] = { { "visual-activity", SET_OPTION_FLAG, 0, 0, NULL }, { "visual-bell", SET_OPTION_FLAG, 0, 0, NULL }, { "visual-content", SET_OPTION_FLAG, 0, 0, NULL }, + { "visual-silence", SET_OPTION_FLAG, 0, 0, NULL }, { NULL, 0, 0, 0, NULL } }; @@ -157,6 +158,7 @@ const struct set_option_entry set_window_option_table[] = { { "mode-mouse", SET_OPTION_FLAG, 0, 0, NULL }, { "monitor-activity", SET_OPTION_FLAG, 0, 0, NULL }, { "monitor-content", SET_OPTION_STRING, 0, 0, NULL }, + { "monitor-silence",SET_OPTION_NUMBER, 0, INT_MAX, NULL}, { "remain-on-exit", SET_OPTION_FLAG, 0, 0, NULL }, { "synchronize-panes", SET_OPTION_FLAG, 0, 0, NULL }, { "utf8", SET_OPTION_FLAG, 0, 0, NULL }, |