summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-02-06 19:26:49 +0000
committernicm <nicm>2017-02-06 19:26:49 +0000
commit10e14ae504df467234284a1040e91d48b41b2dd0 (patch)
treed6a15fa4714dddc6a8698e1c536dcfe35becd588 /tty.c
parente67548dc36fdb4454aded1c95bd35e2443191f94 (diff)
Add BCE for clear to start of screen, which was somehow missed.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 0230a60e..7ecf2a2d 100644
--- a/tty.c
+++ b/tty.c
@@ -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);