1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-24 17:13:19 +00:00

Remove padding if the header style is not enabled

This commit is contained in:
Prat T
2020-05-12 07:06:58 -07:00
committed by David Peter
parent 0040fef215
commit b3373398e8
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -247,8 +247,6 @@ impl<'a> Printer for InteractivePrinter<'a> {
)?;
} else if self.config.style_components.grid() {
self.print_horizontal_line(handle, '┬')?;
} else if add_header_padding {
writeln!(handle)?;
}
return Ok(());
}