aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-12-06 22:52:21 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-12-06 22:52:21 +0000
commit3a4f765a51fd7cf98d655dc5a63746a6121d0212 (patch)
tree725352590fa509f59fdc3c8d297c2b3b7a586b49 /status.c
parentd0adcbc98a0261716c094c2e83c6d2eaa90a1c95 (diff)
downloadrtmux-3a4f765a51fd7cf98d655dc5a63746a6121d0212.tar.gz
rtmux-3a4f765a51fd7cf98d655dc5a63746a6121d0212.tar.bz2
rtmux-3a4f765a51fd7cf98d655dc5a63746a6121d0212.zip
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/status.c b/status.c
index e7306952..18cf72c9 100644
--- a/status.c
+++ b/status.c
@@ -1,4 +1,4 @@
-/* $Id: status.c,v 1.149 2010-06-22 23:26:18 tcunha Exp $ */
+/* $Id: status.c,v 1.150 2010-12-06 22:52:21 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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))