mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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.
This commit is contained in:
4
server.c
4
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;
|
||||
|
Reference in New Issue
Block a user