render: fix last-cursor comparison

This commit is contained in:
Daniel Eklöf 2019-07-03 09:46:39 +02:00
parent 2bca2a894e
commit 048f619b19
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -391,7 +391,7 @@ grid_render(struct context *c)
if (tll_length(c->term.grid->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;
}