Fix image scrolling at exact screen height, and add more logging for images.

This commit is contained in:
Nicholas Marriott
2025-12-18 09:05:37 +00:00
parent 86c15d7ae9
commit fe645c5bcc
2 changed files with 46 additions and 10 deletions

View File

@@ -2388,7 +2388,7 @@ screen_write_sixelimage(struct screen_write_ctx *ctx, struct sixel_image *si,
}
sy = screen_size_y(s) - cy;
if (sy < y) {
if (sy <= y) {
lines = y - sy + 1;
if (image_scroll_up(s, lines) && ctx->wp != NULL)
ctx->wp->flags |= PANE_REDRAW;