summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-05-12 10:50:11 +0000
committernicm <nicm@openbsd.org>2017-05-12 10:50:11 +0000
commitcf8e7221d6b58e0ed89c151715575da87d707bb7 (patch)
tree3a0d0080ac31b5229403ca18eadadad259e7c6af /usr.bin/tmux/tty.c
parentCan use DECFRA to clear area when not using default background. (diff)
downloadwireguard-openbsd-cf8e7221d6b58e0ed89c151715575da87d707bb7.tar.xz
wireguard-openbsd-cf8e7221d6b58e0ed89c151715575da87d707bb7.zip
ECH needs to use background colour.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index efce80f7265..9ec5d504a9e 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.274 2017/05/12 10:49:04 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.275 2017/05/12 10:50:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1035,7 +1035,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);