mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-28 08:05:52 +00:00
Set printed to true after printing header
This commit is contained in:
1 parent
10e3535999
commit
f918bfb911
1 file changed
+1
@@ -165,6 +165,7 @@ impl<'a> Printer<'a> {
|
||||
0 => {
|
||||
if !self.header_was_printed {
|
||||
self.header();
|
||||
self.header_was_printed = true;
|
||||
}
|
||||
self.print_textline()?;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user