diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-10-13 16:44:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-10-13 16:44:44 +0000 |
| commit | 3dbb86914cd05143bb0786af5c3756abf5bca73c (patch) | |
| tree | 139106471fba40b16378ce99b6962715049cd02b /render.c | |
| parent | changelog: add new 'unreleased' section (diff) | |
render: sixel: regression: wrong cell color behind opaque sixels
An opaque sixel that isn't a multiple of the cell size will have some
cells partially visible (either the entire last row, the entire last
column, or both).
These must be rendered before blitting the sixel.
f5f2f5a954ee6cf3532a6aba023860ada183d486 introduced a regression,
where all such cells were rendered as if the cursor was there, giving
them the wrong appearance.
Closes #1520
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1309,7 +1309,7 @@ render_sixel(struct terminal *term, pixman_image_t *pix, if ((last_row_needs_erase && last_row) || (last_col_needs_erase && last_col)) { - render_cell(term, pix, damage, row, term_row_no, col, cursor_col); + render_cell(term, pix, damage, row, term_row_no, col, cursor_col == col); } else { cell->attrs.clean = 1; cell->attrs.confined = 1; |
