aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-31 20:46:19 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-31 20:46:19 +0000
commit04319964b95304138dbe5cbce0b97222769d0c17 (patch)
tree3d067da0a55da208bbf9dd18d1711d5b165ffcfc /server.c
parent8102ec3be55e9800837eeb2f1f9135a433452794 (diff)
downloadrtmux-04319964b95304138dbe5cbce0b97222769d0c17.tar.gz
rtmux-04319964b95304138dbe5cbce0b97222769d0c17.tar.bz2
rtmux-04319964b95304138dbe5cbce0b97222769d0c17.zip
Add a new display-panes command, with two options (display-panes-colour and
display-panes-time), which displays a visual indication of the number of each pane.
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.c b/server.c
index 0780e6b1..3bb93d95 100644
--- a/server.c
+++ b/server.c
@@ -632,6 +632,9 @@ server_check_timers(struct client *c)
if (gettimeofday(&tv, NULL) != 0)
fatal("gettimeofday");
+ if (c->flags & CLIENT_IDENTIFY && timercmp(&tv, &c->identify_timer, >))
+ server_clear_identify(c);
+
if (c->message_string != NULL && timercmp(&tv, &c->message_timer, >))
status_message_clear(c);
@@ -809,6 +812,7 @@ server_handle_client(struct client *c)
wp = c->session->curw->window->active; /* could die */
status_message_clear(c);
+ server_clear_identify(c);
if (c->prompt_string != NULL) {
status_prompt_key(c, key);
continue;