From e2a18e2b371de4bdd689dd32eee31d8a2697df4c Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 12 May 2017 14:56:56 +0000 Subject: [PATCH] Need to store bg for ECH. --- screen-write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen-write.c b/screen-write.c index 894da4b7..1af623b1 100644 --- a/screen-write.c +++ b/screen-write.c @@ -630,7 +630,7 @@ screen_write_clearcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) screen_write_initctx(ctx, &ttyctx); ttyctx.bg = bg; - grid_view_clear(s->grid, s->cx, s->cy, nx, 1, 8); + grid_view_clear(s->grid, s->cx, s->cy, nx, 1, bg); screen_write_collect_flush(ctx, 0); ttyctx.num = nx;