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

This commit is contained in:
Ethan P authored and David Peter committed 2019-07-26 06:51:33 +02:00
1 parent 35ca1c5191
commit 772ce2e4fe
1 file changed
+4
+4
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(());
}