mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04:00
render: fix last-cursor comparison
This commit is contained in:
parent
2bca2a894e
commit
048f619b19
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -391,7 +391,7 @@ 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 &&
|
tll_length(c->term.grid->scroll_damage) == 0 &&
|
||||||
last_cursor == c->term.cursor.linear)
|
last_cursor == c->term.grid->offset + c->term.cursor.linear)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue