version 1.158, 2017/01/06 11:57:03 |
version 1.159, 2017/01/13 11:56:43 |
|
|
int |
int |
status_redraw(struct client *c) |
status_redraw(struct client *c) |
{ |
{ |
struct screen_write_ctx ctx; |
struct screen_write_ctx ctx; |
struct session *s = c->session; |
struct session *s = c->session; |
struct winlink *wl; |
struct winlink *wl; |
struct screen old_status, window_list; |
struct screen old_status, window_list; |
struct grid_cell stdgc, lgc, rgc, gc; |
struct grid_cell stdgc, lgc, rgc, gc; |
struct options *oo; |
struct options *oo; |
time_t t; |
time_t t; |
char *left, *right, *sep; |
char *left, *right; |
u_int offset, needed; |
const char *sep; |
u_int wlstart, wlwidth, wlavailable, wloffset, wlsize; |
u_int offset, needed; |
size_t llen, rlen, seplen; |
u_int wlstart, wlwidth, wlavailable, wloffset, wlsize; |
int larrow, rarrow; |
size_t llen, rlen, seplen; |
|
int larrow, rarrow; |
|
|
/* No status line? */ |
/* No status line? */ |
if (c->tty.sy == 0 || !options_get_number(s->options, "status")) |
if (c->tty.sy == 0 || !options_get_number(s->options, "status")) |