libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit f816954be1d8e08fa3f5f524d017517c70760905
parent a8a11e17b8efbaa5facf78188f04c257f36bd617
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 20 Jan 2020 00:59:21 +0100

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

Diffstat:
Msrc/loaders/ansi.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -323,6 +323,7 @@ ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options) background += 8; blink = true; + background24 = 0; } if (seqValue == 7)