mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
Do not redraw panes if invisible.
This commit is contained in:
parent
6fee3e9e4b
commit
446fb0cb9c
@ -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