mirror of
https://github.com/tmux/tmux.git
synced 2025-12-22 15:36:06 +00:00
Fix image scrolling at exact screen height, and add more logging for images.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user