diff options
author | 2020-04-18 15:22:05 +0000 | |
---|---|---|
committer | 2020-04-18 15:22:05 +0000 | |
commit | c9e03550be477774bfa9318a28f6388ac94e9c36 (patch) | |
tree | ade86c9dfd8d185a91164b37b2966936a51b7e63 /usr.bin/tmux/screen-write.c | |
parent | There is no point in keeping a bunch of different text buffers for each (diff) | |
download | wireguard-openbsd-c9e03550be477774bfa9318a28f6388ac94e9c36.tar.xz wireguard-openbsd-c9e03550be477774bfa9318a28f6388ac94e9c36.zip |
Reset background colour on scrolled line.
Diffstat (limited to 'usr.bin/tmux/screen-write.c')
-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. */ |