Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-07-04 17:06:56 +01:00
5 changed files with 590 additions and 437 deletions

View File

@@ -2079,7 +2079,7 @@ screen_write_clearscreen(struct screen_write_ctx *ctx, u_int bg)
screen_write_collect_clear(ctx, 0, sy);
if (!screen_write_should_draw_lines(ctx, s->cy, sy - s->cy))
if (!screen_write_should_draw_lines(ctx, 0, sy))
return;
if (~ttyctx.flags & TTY_CTX_PANE_OBSCURED) {
tty_write(tty_cmd_clearscreen, &ttyctx);