From e26a351865a0d969b3f40ca3c14be7ff8d7533ad Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 6 Dec 2010 22:51:02 +0000 Subject: Add an option to alert (monitor) for silence (lack of activity) in a window. From Thomas Adam. --- input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input.c') diff --git a/input.c b/input.c index f49591a7..4a964550 100644 --- a/input.c +++ b/input.c @@ -681,7 +681,9 @@ input_parse(struct window_pane *wp) if (EVBUFFER_LENGTH(evb) == 0) return; + wp->window->flags |= WINDOW_ACTIVITY; + wp->window->flags &= ~WINDOW_SILENCE; /* * Open the screen. Use NULL wp if there is a mode set as don't want to -- cgit v1.2.3