Use more distinguished characters

This commit is contained in:
sharkdp committed 2018-11-05 22:51:25 +01:00
1 parent e4e6c6b323
commit a1bd8fb873
1 file changed
+4 -3
+4 -3
View File
@@ -65,9 +65,10 @@ impl Byte {
match self.category() {
Null => '0',
AsciiPrintable => self.0 as char,
AsciiWhitespace => '.',
AsciiOther => '.',
NonAscii => '.',
AsciiWhitespace if self.0 == 0x20 => ' ',
AsciiWhitespace => '_',
AsciiOther => '•',
NonAscii => '×',
}
}
}