mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:34 +00:00
Correct asterisk colorization
This commit is contained in:
1 parent
19f325a691
commit
8d5b355b76
1 file changed
+1
-2
+1
-2
@@ -723,8 +723,7 @@ impl<'a, Writer: Write> Printer<'a, Writer> {
|
||||
if self.show_position_panel {
|
||||
match self.squeezer {
|
||||
Squeezer::Print => {
|
||||
self.writer
|
||||
.write_all(self.byte_char_panel[b'*' as usize].as_bytes())?;
|
||||
self.writer.write_all(&[b'*'])?;
|
||||
if self.show_color {
|
||||
self.writer.write_all(COLOR_RESET)?;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user