Print a horizontal header line when 'grid' style without 'header' style
commit772ce2e4fec27d51094044919f9ce6b4df9a5a32
authorEthan P <eth-p+git@hidden.email>
dateFri 31 May 2019, 15:12 (7 years ago)
parent35ca1c5
src/printer.rs+4
@@ -207,6 +207,10 @@ impl<'a> Printer for InteractivePrinter<'a> {
207207 Yellow.paint("[bat warning]"),
208208 input
209209 )?;
210+ } else {
211+ if self.config.output_components.grid() {
212+ self.print_horizontal_line(handle, '┬')?;
213+ }
210214 }
211215 return Ok(());
212216 }