mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 10:08:48 +00:00
Remove images when reflow happens.
This commit is contained in:
parent
2006b7a563
commit
cf071ffecd
4
screen.c
4
screen.c
@ -225,8 +225,10 @@ screen_resize(struct screen *s, u_int sx, u_int sy, int reflow)
|
|||||||
if (sy != screen_size_y(s))
|
if (sy != screen_size_y(s))
|
||||||
screen_resize_y(s, sy);
|
screen_resize_y(s, sy);
|
||||||
|
|
||||||
if (reflow)
|
if (reflow) {
|
||||||
|
image_free_all(s);
|
||||||
screen_reflow(s, sx);
|
screen_reflow(s, sx);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user