Minor fixup.

This commit is contained in:
Michael Grant
2026-03-09 08:35:24 +00:00
parent 46427f1dd7
commit 28c04b21f6

2
tty.c
View File

@@ -1319,7 +1319,7 @@ tty_clear_area(struct tty *tty, const struct tty_ctx *ctx, u_int py,
if (wpl->yoff - 1 > (int)(py + ny) || wpl->yoff + wpl->sy + 1 < py) if (wpl->yoff - 1 > (int)(py + ny) || wpl->yoff + wpl->sy + 1 < py)
continue; continue;
overlap++; overlap++;
if (overlap > 1) break; if (overlap > 0) break;
} }
/* If genuine BCE is available, can try escape sequences. */ /* If genuine BCE is available, can try escape sequences. */