mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-28 08:05:52 +00:00
Remove block coloring option for refactor
This commit is contained in:
1 parent
a0a7d6761f
commit
dfb5d57ee7
3 files changed
+1
-263
No files matched your search
@@ -26,7 +26,6 @@ pub enum ByteCategory {
|
||||
#[non_exhaustive]
|
||||
pub enum CharacterTable {
|
||||
AsciiOnly,
|
||||
Block,
|
||||
CP437,
|
||||
}
|
||||
|
||||
@@ -72,7 +71,6 @@ impl Byte {
|
||||
AsciiOther => COLOR_ASCII_OTHER,
|
||||
NonAscii => COLOR_NONASCII,
|
||||
},
|
||||
CharacterTable::Block => COLORS_XTERM[self.0 as usize],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +86,6 @@ impl Byte {
|
||||
NonAscii => '×',
|
||||
},
|
||||
CharacterTable::CP437 => CP437[self.0 as usize],
|
||||
CharacterTable::Block => '█',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user