Add BCE for clear to start of screen, which was somehow missed.

This commit is contained in:
nicm
2017-02-06 19:26:49 +00:00
parent e67548dc36
commit 10e14ae504
4 changed files with 8 additions and 7 deletions

2
tty.c
View File

@ -1057,7 +1057,7 @@ tty_cmd_clearstartofscreen(struct tty *tty, const struct tty_ctx *ctx)
struct screen *s = wp->screen;
u_int i, j;
tty_attributes(tty, &grid_default_cell, wp);
tty_default_attributes(tty, wp, ctx->bg);
tty_region_pane(tty, ctx, 0, screen_size_y(s) - 1);
tty_margin_off(tty);