summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/screen-write.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-05-12 14:56:56 +0000
committernicm <nicm@openbsd.org>2017-05-12 14:56:56 +0000
commit5278aeaa17907d800da4cd9741dfe373143ce9bc (patch)
tree78dffa13390df01c7f490e22ce75b25f3e4c1ef9 /usr.bin/tmux/screen-write.c
parentImprove UTF-8 handling on lines that are wider than the terminal, (diff)
downloadwireguard-openbsd-5278aeaa17907d800da4cd9741dfe373143ce9bc.tar.xz
wireguard-openbsd-5278aeaa17907d800da4cd9741dfe373143ce9bc.zip
Need to store bg for ECH.
Diffstat (limited to 'usr.bin/tmux/screen-write.c')
-rw-r--r--usr.bin/tmux/screen-write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c
index 8b12e78a83f..bb381f2c0ab 100644
--- a/usr.bin/tmux/screen-write.c
+++ b/usr.bin/tmux/screen-write.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-write.c,v 1.123 2017/05/12 13:29:05 nicm Exp $ */
+/* $OpenBSD: screen-write.c,v 1.124 2017/05/12 14:56:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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;