From 2bff5e7867b4849019df04d77ecade300c6e3dce Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 12 May 2017 16:16:16 +0100 Subject: ECH needs to use background colour. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index 7998e26e..1c39fce4 100644 --- a/tty.c +++ b/tty.c @@ -961,7 +961,7 @@ tty_cmd_deletecharacter(struct tty *tty, const struct tty_ctx *ctx) void tty_cmd_clearcharacter(struct tty *tty, const struct tty_ctx *ctx) { - tty_attributes(tty, &grid_default_cell, ctx->wp); + tty_default_attributes(tty, ctx->wp, ctx->bg); tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy); -- cgit