mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +00:00
Merge branch 'floating_panes' into floating_panes_staging
This commit is contained in:
9
tty.c
9
tty.c
@@ -1414,9 +1414,8 @@ tty_draw_pane(struct tty *tty, const struct tty_ctx *ctx, u_int py)
|
||||
rr = &r->ranges[j];
|
||||
if (rr->nx == 0)
|
||||
continue;
|
||||
tty_draw_line(tty, s, rr->px, py, rr->nx,
|
||||
ctx->xoff + rr->px, ctx->yoff + py, &ctx->defaults,
|
||||
ctx->palette);
|
||||
tty_draw_line(tty, s, rr->px - ctx->xoff, py, rr->nx,
|
||||
rr->px, ctx->yoff + py, &ctx->defaults, ctx->palette);
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -1426,8 +1425,8 @@ tty_draw_pane(struct tty *tty, const struct tty_ctx *ctx, u_int py)
|
||||
rr = &r->ranges[j];
|
||||
if (rr->nx == 0)
|
||||
continue;
|
||||
tty_draw_line(tty, s, i + rr->px, py, rr->nx,
|
||||
x + rr->px, ry, &ctx->defaults, ctx->palette);
|
||||
tty_draw_line(tty, s, i + rr->px - x, py, rr->nx,
|
||||
rr->px, ry, &ctx->defaults, ctx->palette);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user