Skip to content

Commit

Permalink
DECSET 7780 also does not move the cursor (#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
mined committed Sep 1, 2023
1 parent d0abb70 commit 143c937
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/termout.c
Original file line number Diff line number Diff line change
Expand Up @@ -3653,6 +3653,7 @@ fill_image_space(imglist * img)
term.curs.y = y0;
term.curs.x = x0;
} else { // sixel scrolling mode
short y0 = term.curs.y;
for (int i = 0; i < img->height; ++i) {
term.curs.x = x0;
//printf("SIXELCH @%d imgi %d\n", term.curs.y, term.curs.attr.imgi);
Expand All @@ -3670,6 +3671,10 @@ fill_image_space(imglist * img)
write_linefeed();
}
}
if (term.image_display) {
term.curs.y = y0;
term.curs.x = x0;
}
}

term.curs.attr.attr = attr0;
Expand Down

0 comments on commit 143c937

Please sign in to comment.