summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2017-05-12 14:56:57 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2017-05-12 14:56:57 +0000
commit1a96eb1f2bfdb2c6ad3e2b4e72c052e17c4ac402 (patch)
tree3a0643e4d16fe2cdea9fec083c19d6abeef56bab /usr.bin/tmux
parent2cb31b10679106958d5f40c89aa2ace2e2bc5005 (diff)
Need to store bg for ECH.
Diffstat (limited to 'usr.bin/tmux')
-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;