diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-21 23:05:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-21 23:05:25 +0000 |
| commit | 63140a68f516c8b4616bf6c726d23a75b73e5713 (patch) | |
| tree | 2bf9158f18f83569c3f5fe0da57ad8afa2001901 /sixel.c | |
| parent | render: break out sixel rendering code (diff) | |
sixel: calculate image height in (cell) rows
Diffstat (limited to 'sixel.c')
| -rw-r--r-- | sixel.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -56,6 +56,7 @@ sixel_unhook(struct terminal *term) .data = term->sixel.image, .width = term->sixel.max_col, .height = term->sixel.row * 6, + .rows = (term->sixel.row * 6 + term->cell_height - 1) / term->cell_height, .pos = (struct coord){term->cursor.point.col, term->grid->offset + term->cursor.point.row}, }; |
