Use a pointer for the active screen in the status line instead of

copying them around all the time.
This commit is contained in:
nicm
2019-03-16 19:12:13 +00:00
parent 818fda0363
commit b588b1729a
4 changed files with 73 additions and 76 deletions

View File

@ -569,7 +569,7 @@ screen_redraw_draw_status(struct screen_redraw_ctx *ctx)
struct client *c = ctx->c;
struct window *w = c->session->curw->window;
struct tty *tty = &c->tty;
struct screen *s = &c->status.screen;
struct screen *s = c->status.active;
u_int i, y;
log_debug("%s: %s @%u", __func__, c->name, w->id);