Merge branch 'obsd-master'

pull/1848/head
Thomas Adam 2019-07-08 15:02:25 +01:00
commit 29b2d07b6b
1 changed files with 1 additions and 5 deletions

View File

@ -1169,11 +1169,7 @@ screen_write_clearscreen(struct screen_write_ctx *ctx, u_int bg)
void
screen_write_clearhistory(struct screen_write_ctx *ctx)
{
struct screen *s = ctx->s;
struct grid *gd = s->grid;
grid_move_lines(gd, 0, gd->hsize, gd->sy, 8);
gd->hscrolled = gd->hsize = 0;
grid_clear_history(ctx->s->grid);
}
/* Clear a collected line. */