Do not draw cells which have no cell (zoomed and they are not active).

This commit is contained in:
Nicholas Marriott
2018-08-25 13:55:50 +01:00
parent 45841400f2
commit 7fbd2f5498
3 changed files with 9 additions and 2 deletions

2
tty.c
View File

@ -1330,6 +1330,8 @@ tty_client_ready(struct client *c, struct window_pane *wp)
return (0);
if (c->session->curw->window != wp->window)
return (0);
if (wp->layout_cell == NULL)
return (0);
return (1);
}