Do not redraw panes if invisible.

pull/1/head
Nicholas Marriott 2013-03-25 10:12:01 +00:00
parent 6fee3e9e4b
commit 446fb0cb9c
1 changed files with 3 additions and 0 deletions

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++;