mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +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() {
|
||||
Null => '0',
|
||||
AsciiPrintable => self.0 as char,
|
||||
AsciiWhitespace => '.',
|
||||
AsciiOther => '.',
|
||||
NonAscii => '.',
|
||||
AsciiWhitespace if self.0 == 0x20 => ' ',
|
||||
AsciiWhitespace => '_',
|
||||
AsciiOther => '•',
|
||||
NonAscii => '×',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user