diff options
| -rw-r--r-- | sixel.c | 1 | ||||
| -rw-r--r-- | terminal.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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}, }; @@ -181,6 +181,7 @@ struct sixel { int width; int height; int rows; + const struct grid *grid; struct coord pos; }; |
