summaryrefslogtreecommitdiffstats
path: root/cmd-choose-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-12-06 22:51:02 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-12-06 22:51:02 +0000
commite26a351865a0d969b3f40ca3c14be7ff8d7533ad (patch)
tree4ac1f40063ffa767d37ecfe5019d2718635b502d /cmd-choose-window.c
parentebd0eb4fb4790cbf289a0dace00e37fe866c9bf3 (diff)
Add an option to alert (monitor) for silence (lack of activity) in a
window. From Thomas Adam.
Diffstat (limited to 'cmd-choose-window.c')
-rw-r--r--cmd-choose-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-choose-window.c b/cmd-choose-window.c
index e341dd41..b3e4b2b3 100644
--- a/cmd-choose-window.c
+++ b/cmd-choose-window.c
@@ -87,6 +87,8 @@ cmd_choose_window_exec(struct cmd *self, struct cmd_ctx *ctx)
flag = '!';
else if (wm->flags & WINLINK_CONTENT)
flag = '+';
+ else if (wm->flags & WINLINK_SILENCE)
+ flag = '~';
else if (wm == s->curw)
flag = '*';
else if (wm == TAILQ_FIRST(&s->lastw))