summaryrefslogtreecommitdiffstats
path: root/status.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 /status.c
parentebd0eb4fb4790cbf289a0dace00e37fe866c9bf3 (diff)
Add an option to alert (monitor) for silence (lack of activity) in a
window. From Thomas Adam.
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/status.c b/status.c
index b1d93c97..65a0afeb 100644
--- a/status.c
+++ b/status.c
@@ -395,6 +395,8 @@ status_replace1(struct client *c,struct winlink *wl,
tmp[0] = '!';
else if (wl->flags & WINLINK_ACTIVITY)
tmp[0] = '#';
+ else if (wl->flags & WINLINK_SILENCE)
+ tmp[0] = '~';
else if (wl == s->curw)
tmp[0] = '*';
else if (wl == TAILQ_FIRST(&s->lastw))