aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-05-12 16:16:16 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-05-12 16:16:16 +0100
commit2bff5e7867b4849019df04d77ecade300c6e3dce (patch)
treee1f2724b716ff060ba7782cb763aaf056ec9bbd3 /tty.c
parent90f2a417af1d6a15435571e6512d75b7ab373c58 (diff)
downloadrtmux-2bff5e7867b4849019df04d77ecade300c6e3dce.tar.gz
rtmux-2bff5e7867b4849019df04d77ecade300c6e3dce.tar.bz2
rtmux-2bff5e7867b4849019df04d77ecade300c6e3dce.zip
ECH needs to use background colour.
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 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);