Do not redraw panes if invisible.

This commit is contained in:
Nicholas Marriott 2013-03-09 17:29:22 +00:00
parent 89d3f13945
commit dde5d49a5e

View File

@ -273,6 +273,9 @@ screen_redraw_pane(struct client *c, struct window_pane *wp)
{
u_int i, yoff;
if (!window_pane_visible(wp))
return;
yoff = wp->yoff;
if (status_at_line(c) == 0)
yoff++;