Do not check overlays in tty_draw_line_clear, the caller should be doing it.

This commit is contained in:
Nicholas Marriott
2026-05-24 12:25:51 +01:00
parent fb9e47d8c9
commit f75b1e5f07
3 changed files with 12 additions and 24 deletions

4
tty.c
View File

@@ -1306,9 +1306,7 @@ tty_clear_area(struct tty *tty, const struct tty_ctx *ctx, u_int py,
{
struct client *c = tty->client;
const struct grid_cell *defaults = &ctx->defaults;
struct visible_ranges *r;
struct visible_range *ri;
u_int i, yy, oy = 0;
u_int yy;
char tmp[64];
log_debug("%s: %s, %u,%u at %u,%u", __func__, c->name, nx, ny, px, py);