mirror of
https://github.com/tmux/tmux.git
synced 2026-01-12 01:00:22 +00:00
Fix many display problems with floating windows up against the window edge and borders of other windows and many off-by-one errors.
This commit is contained in:
2
tty.c
2
tty.c
@@ -2259,7 +2259,7 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx)
|
||||
for (i = 0; i < OVERLAY_MAX_RANGES; i++)
|
||||
vis += r.nx[i];
|
||||
if (vis < gcp->data.width ||
|
||||
vis2 < gcp->data.width) {
|
||||
vis2 < gcp->data.width) { /* xxxx check visible range */
|
||||
tty_draw_line(tty, s, s->cx, s->cy, gcp->data.width,
|
||||
px, py, &ctx->defaults, ctx->palette);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user