render: always damage two cells when rendering the cursor

Hack to render cursor-at-double-width-characters correctly. Should be
replaced with something better.
This commit is contained in:
Daniel Eklöf 2019-07-31 21:16:37 +02:00
parent 4a01be5522
commit 67b4b9401d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -558,7 +558,7 @@ grid_render(struct terminal *term)
term->wl.surface,
term->cursor.col * term->cell_width,
view_aligned_row * term->cell_height,
term->cell_width, term->cell_height);
2 * term->cell_width, term->cell_height);
}
if (all_clean) {