holman / spark

▁▂▃▅▂▇ in your shell.
http://zachholman.com/spark/
MIT License
6.01k stars 290 forks source link

Allow 'x' for unknown data, show as '×' #97

Open youam opened 6 years ago

youam commented 6 years ago

This small patch interprets 'x' in the input as an unknown value, showing '×' in the output:

$ echo 1 4 2 x 6 10 | ./spark 
▁▃▁×▄█
$