Handle ranges for panes which are outside the window to the left.

This commit is contained in:
nicm
2026-05-30 11:19:39 +00:00
parent b9d228c72f
commit f8ab7a5158
3 changed files with 5 additions and 4 deletions

View File

@@ -1129,7 +1129,7 @@ screen_write_redraw_line(struct screen_write_ctx *ctx, struct tty_ctx *ttyctx,
struct screen *s = ctx->s;
struct grid_cell gc, ngc;
u_int sx = screen_size_x(s), cx, i, n;
u_int xoff = wp->xoff, yoff = wp->yoff;
int xoff = wp->xoff, yoff = wp->yoff;
struct visible_ranges *r;
struct visible_range *ri;