1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-06-26 10:13:18 +01: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

@ -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(());
}