We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0030236 commit 1406e06Copy full SHA for 1406e06
1 file changed
src/unicode_plot/graphics/heatmap_graphics.cr
@@ -129,8 +129,12 @@ module UnicodePlot
129
io << ' '
130
end
131
else
132
- # No color: just output the character (▄) so strip-ANSI comparison works
133
- io << HALF_BLOCK
+ # No color: keep missing cells blank just like the color path.
+ if fg != INVALID_COLOR || bg != INVALID_COLOR
134
+ io << HALF_BLOCK
135
+ else
136
+ io << ' '
137
+ end
138
139
140
0 commit comments