Print a horizontal header line when 'grid' style without 'header' style

This commit is contained in:
Ethan P 2019-05-31 15:12:25 -07:00 committed by David Peter
parent 35ca1c5191
commit 772ce2e4fe
1 changed files with 4 additions and 0 deletions

View File

@ -207,6 +207,10 @@ impl<'a> Printer for InteractivePrinter<'a> {
Yellow.paint("[bat warning]"),
input
)?;
} else {
if self.config.output_components.grid() {
self.print_horizontal_line(handle, '┬')?;
}
}
return Ok(());
}