diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-18 15:22:06 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-18 15:22:06 +0000 |
commit | db43e234487af03e48ca325aceb2e128e287fb47 (patch) | |
tree | ec2a843dcb4dd70cb8daa37dbff9ed48eef597a9 /usr.bin | |
parent | 2f0239018008f7f86ef3657aba3cc8d2dbde7e1c (diff) |
Reset background colour on scrolled line.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/screen-write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c index eeee370a604..980393c05bc 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.170 2020/04/18 15:12:28 nicm Exp $ */ +/* $OpenBSD: screen-write.c,v 1.171 2020/04/18 15:22:05 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1381,6 +1381,7 @@ screen_write_collect_scroll(struct screen_write_ctx *ctx) ctx->list[y].data = cl->data; } ctx->list[s->rlower].data = saved; + ctx->list[s->rlower].bg = 1 + 8; } /* Flush collected lines. */ |