ansigo

Simple ANSi to PNG converter written in pure Go
Log | Files | Refs | README | LICENSE

commit 16b555af25468d3bece18e736f46a42afc7984da
parent 1eaaf3ec0d75ec23ea82b18ae262ece0111b7687
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Mon,  8 Oct 2012 12:03:58 +0200

Skipping 'Set mode' and 'Reset mode' sequences

Diffstat:
Mansigo.go | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/ansigo.go b/ansigo.go @@ -229,6 +229,13 @@ func main() { break } + // Skipping Set Mode And Reset Mode Sequences + if ansiSequenceCharacter == 'h' || ansiSequenceCharacter == 'l' { + + i += j + 2 + break + } + ansiSequence = append(ansiSequence, ansiSequenceCharacter) } } else {