aboutsummaryrefslogtreecommitdiff
path: root/sixel.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-22 23:40:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-22 23:40:30 +0000
commita2b4bcbd4f6cb98e7e4ddf7e648fe2ee44505547 (patch)
treec37ec0ed0858ee84f2d46c6e1c51710a5593fe3f /sixel.c
parentsixel: rename: purge_at_cursor() -> delete_at_cursor() (diff)
sixel: track which grid image was created on
Diffstat (limited to 'sixel.c')
-rw-r--r--sixel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sixel.c b/sixel.c
index 24477e3e..34bdb585 100644
--- a/sixel.c
+++ b/sixel.c
@@ -81,6 +81,7 @@ sixel_unhook(struct terminal *term)
.width = term->sixel.image.width,
.height = term->sixel.image.height,
.rows = (term->sixel.image.height + term->cell_height - 1) / term->cell_height,
+ .grid = term->grid,
.pos = (struct coord){term->cursor.point.col, term->grid->offset + term->cursor.point.row},
};