mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: sixel: don't render sixels on the 'other' grid
This commit is contained in:
parent
6d69311630
commit
85684bc0c7
1 changed files with 3 additions and 0 deletions
3
render.c
3
render.c
|
|
@ -523,6 +523,9 @@ static void
|
|||
render_sixel(struct terminal *term, pixman_image_t *pix,
|
||||
const struct sixel *sixel)
|
||||
{
|
||||
if (sixel->grid != term->grid)
|
||||
return;
|
||||
|
||||
int view_end = (term->grid->view + term->rows - 1) & (term->grid->num_rows - 1);
|
||||
int first_visible_row = -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue