This commit is contained in:
Michael Grant
2026-10-09 17:58:42 +02:00
parent 9862ea0748
commit b1e4306ace
3 changed files with 377 additions and 352 deletions

View File

@@ -2084,10 +2084,8 @@ screen_write_clearendofscreen(struct screen_write_ctx *ctx, u_int bg)
ttyctx.bg = bg;
/* Erasing to the end clears the whole screen at 0,0. */
if (s->cx == 0) {
if (s->cy == 0)
osc133 = input_osc_133_save_marker(ctx->owner, s);
}
if (s->cx == 0 && s->cy == 0)
osc133 = input_osc_133_save_marker(ctx->owner, s);
/* Scroll into history if it is enabled and clearing entire screen. */
if (s->cx == 0 &&