Skip to content

Commit

Permalink
fix: render bug introduces by resets on new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed May 27, 2024
1 parent e0b8842 commit 1913f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansi/ansi.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func PrintImage(image image.Image, width int, height int) {

pixels := Pair(image.At(x, y+1), image.At(x, y))

if pixels == previousPixels {
if pixels == previousPixels && x != 0 {
print("▄")
continue
}
Expand Down

0 comments on commit 1913f6d

Please sign in to comment.