mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: also check scroll damage list
This commit is contained in:
parent
34fb86724f
commit
b59b03fd07
1 changed files with 4 additions and 1 deletions
5
main.c
5
main.c
|
|
@ -334,8 +334,11 @@ grid_render_scroll_reverse(struct context *c, struct buffer *buf,
|
|||
static void
|
||||
grid_render(struct context *c)
|
||||
{
|
||||
if (tll_length(c->term.grid.damage) == 0)
|
||||
if (tll_length(c->term.grid.damage) == 0 &&
|
||||
tll_length(c->term.grid.scroll_damage) == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
assert(c->width > 0);
|
||||
assert(c->height > 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue