Support setting the default window and pane background colours (window

and active pane via window-style and window-active-style options, an
individual pane by a new select-pane -P flag). From J Raynor.
This commit is contained in:
nicm
2015-04-19 21:05:27 +00:00
parent 4a7587931c
commit ee123c2489
9 changed files with 212 additions and 66 deletions

View File

@ -705,6 +705,8 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit)
wp->saved_grid = NULL;
memcpy(&wp->colgc, &grid_default_cell, sizeof wp->colgc);
screen_init(&wp->base, sx, sy, hlimit);
wp->screen = &wp->base;