mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 16:13:34 +00:00
Do not redraw panes if invisible.
This commit is contained in:
parent
89d3f13945
commit
dde5d49a5e
@ -273,6 +273,9 @@ screen_redraw_pane(struct client *c, struct window_pane *wp)
|
|||||||
{
|
{
|
||||||
u_int i, yoff;
|
u_int i, yoff;
|
||||||
|
|
||||||
|
if (!window_pane_visible(wp))
|
||||||
|
return;
|
||||||
|
|
||||||
yoff = wp->yoff;
|
yoff = wp->yoff;
|
||||||
if (status_at_line(c) == 0)
|
if (status_at_line(c) == 0)
|
||||||
yoff++;
|
yoff++;
|
||||||
|
Loading…
Reference in New Issue
Block a user