From 543a3571d291a0421f284a34d062b32b836ebf06 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 10 Jan 2018 03:58:38 +0000
Subject: [PATCH] Clear the attributes after displaying an avatar, just in case
 the background color is set and the next line (e.g. a blank line) causes a
 scroll (thus filling with the background attr).

---
 exec/showmsghdr.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exec/showmsghdr.js b/exec/showmsghdr.js
index 182bf9f9c7..590a6ab228 100644
--- a/exec/showmsghdr.js
+++ b/exec/showmsghdr.js
@@ -75,4 +75,5 @@ show_msghdr();
 if(!(bbs.msg_attr&MSG_ANONYMOUS) && console.term_supports(USER_ANSI)) {
 	var Avatar = load({}, 'avatar_lib.js');
 	Avatar.draw(bbs.msg_from_ext, bbs.msg_from, bbs.msg_from_net, /* above: */true, /* right-justified: */true);
+	console.attributes = 0;	// Clear the background attribute as the next line might scroll, filling with BG attribute
 }
\ No newline at end of file
-- 
GitLab