Skip to content

Commit 4db7ba1

Browse files
committed
Revert "Fix heatmap non-color rendering to leave fully invalid cells blank"
This reverts commit 1406e06.
1 parent ba7cb43 commit 4db7ba1

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/unicode_plot/graphics/heatmap_graphics.cr

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,8 @@ module UnicodePlot
129129
io << ' '
130130
end
131131
else
132-
# No color: keep missing cells blank just like the color path.
133-
if fg != INVALID_COLOR || bg != INVALID_COLOR
134-
io << HALF_BLOCK
135-
else
136-
io << ' '
137-
end
132+
# No color: just output the character (▄) so strip-ANSI comparison works
133+
io << HALF_BLOCK
138134
end
139135
end
140136
end

0 commit comments

Comments
 (0)