mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +00:00
Use more distinguished characters
This commit is contained in:
1 parent
e4e6c6b323
commit
a1bd8fb873
1 file changed
+4
-3
+4
-3
@@ -65,9 +65,10 @@ impl Byte {
|
|||||||
match self.category() {
|
match self.category() {
|
||||||
Null => '0',
|
Null => '0',
|
||||||
AsciiPrintable => self.0 as char,
|
AsciiPrintable => self.0 as char,
|
||||||
AsciiWhitespace => '.',
|
AsciiWhitespace if self.0 == 0x20 => ' ',
|
||||||
AsciiOther => '.',
|
AsciiWhitespace => '_',
|
||||||
NonAscii => '.',
|
AsciiOther => '•',
|
||||||
|
NonAscii => '×',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user