ansilove.js

A script to display ANSi and artscene related file formats on web pages
Log | Files | Refs | README | LICENSE

commit 43dfb27aab8da094212666c7a11809bbc5ae6145
parent 7ffb8ae050d2884bfce9d1954e49c45f38fa64eb
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 21 Jan 2020 22:19:39 +0100

Reset background24 to undefined when encountering blink attribute in an SGR sequence.

Diffstat:
Mansilove.js | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ansilove.js b/ansilove.js @@ -1141,6 +1141,9 @@ var AnsiLove = (function () { break; case 5: // Blink blink = true; + if (background24bit) { + background24bit = undefined; + } break; case 7: // Inverse inverse = true; @@ -2547,4 +2550,4 @@ var AnsiLove = (function () { } }; } -}());- \ No newline at end of file +}());