Skip to content
Snippets Groups Projects
Commit 543a3571 authored by rswindell's avatar rswindell
Browse files

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).
parent 444891f0
Branches
Tags
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment