ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 85011355f14559cf1d09f939c8a500511af13eb6
parent 0480ac53f395d5a46d96439453010c68a297bd2a
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 28 Jun 2017 18:36:01 +0200

Skip erase in line (EL) sequences (issue reported by Bart Dumon, thanks!)

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

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -366,6 +366,13 @@ void ansi(unsigned char *inputFileBuffer, int32_t inputFileSize, char *outputFil loop+=ansi_sequence_loop+2; break; } + + // skipping erase in line (EL) sequences + if (ansi_sequence_character == 'K') + { + loop+=ansi_sequence_loop+2; + break; + } } } else if (current_character!=10 && current_character!=13 && current_character!=9)