Bring in the single-cell redraw parts for floating panes.

This commit is contained in:
nicm
2026-05-27 20:57:53 +00:00
parent 54ae850322
commit 5c40cc43b2
3 changed files with 86 additions and 28 deletions

View File

@@ -1351,12 +1351,13 @@ screen_redraw_draw_pane(struct screen_redraw_ctx *ctx, struct window_pane *wp)
ri = &r->ranges[k];
if (ri->nx == 0)
continue;
log_debug("%s: %s %%%u range pane (%u,%u) width %u, tty (%u,%u) width %u",
__func__, c->name, wp->id,
log_debug("%s: %s %%%u range %u (%u,%u) width %u, "
"tty (%u,%u) width %u",
__func__, c->name, wp->id, k,
ri->px + (int)ctx->ox - wp->xoff, j, ri->nx,
ri->px, py, ri->nx);
tty_draw_line(tty, s, ri->px + (int)ctx->ox - wp->xoff, j, ri->nx,
ri->px, py, &defaults, palette);
tty_draw_line(tty, s, ri->px + (int)ctx->ox - wp->xoff,
j, ri->nx, ri->px, py, &defaults, palette);
}
}
}