version 1.188, 2016/09/28 08:30:44 |
version 1.189, 2016/10/09 16:24:34 |
|
|
struct session *s = c->session; |
struct session *s = c->session; |
struct tty *tty = &c->tty; |
struct tty *tty = &c->tty; |
struct window_pane *wp; |
struct window_pane *wp; |
int flags, masked, redraw; |
int flags, masked; |
|
|
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |
return; |
return; |
|
|
if (c->flags & (CLIENT_REDRAW|CLIENT_STATUS)) { |
if (c->flags & (CLIENT_REDRAW|CLIENT_STATUS)) { |
if (options_get_number(s->options, "set-titles")) |
if (options_get_number(s->options, "set-titles")) |
server_client_set_title(c); |
server_client_set_title(c); |
|
screen_redraw_update(c); /* will adjust flags */ |
if (c->message_string != NULL) |
|
redraw = status_message_redraw(c); |
|
else if (c->prompt_string != NULL) |
|
redraw = status_prompt_redraw(c); |
|
else |
|
redraw = status_redraw(c); |
|
if (!redraw) |
|
c->flags &= ~CLIENT_STATUS; |
|
} |
} |
|
|
flags = tty->flags & (TTY_FREEZE|TTY_NOCURSOR); |
flags = tty->flags & (TTY_FREEZE|TTY_NOCURSOR); |