Skip to content

Commit

Permalink
uncommenting code
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Feb 21, 2025
1 parent b1ce404 commit 1274bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansi/sixel/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ func (s *sixelBuilder) GeneratePixels() string {
}
hasWrittenAColor = true

// s.writeControlRune(ColorIntroducer)
// s.imageData.WriteString(strconv.Itoa(paletteIndex))
s.writeControlRune(ColorIntroducer)
s.imageData.WriteString(strconv.Itoa(paletteIndex))
for x := 0; x < s.imageWidth; x += 4 {
bit := firstColorBit + uint(x*6)
word := s.pixelBands.GetWord64AtBit(bit)
Expand Down

0 comments on commit 1274bd6

Please sign in to comment.