=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/screen-write.c,v retrieving revision 1.120 retrieving revision 1.121 diff -c -r1.120 -r1.121 *** src/usr.bin/tmux/screen-write.c 2017/05/11 11:39:30 1.120 --- src/usr.bin/tmux/screen-write.c 2017/05/12 10:50:11 1.121 *************** *** 1,4 **** ! /* $OpenBSD: screen-write.c,v 1.120 2017/05/11 11:39:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: screen-write.c,v 1.121 2017/05/12 10:50:11 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 606,612 **** /* Clear nx characters. */ void ! screen_write_clearcharacter(struct screen_write_ctx *ctx, u_int nx) { struct screen *s = ctx->s; struct tty_ctx ttyctx; --- 606,612 ---- /* Clear nx characters. */ void ! screen_write_clearcharacter(struct screen_write_ctx *ctx, u_int nx, u_int bg) { struct screen *s = ctx->s; struct tty_ctx ttyctx; *************** *** 623,628 **** --- 623,629 ---- return; screen_write_initctx(ctx, &ttyctx); + ttyctx.bg = bg; grid_view_clear(s->grid, s->cx, s->cy, nx, 1, 8);