From 772ce2e4fec27d51094044919f9ce6b4df9a5a32 Mon Sep 17 00:00:00 2001 From: Ethan P Date: Fri, 31 May 2019 15:12:25 -0700 Subject: [PATCH] Print a horizontal header line when 'grid' style without 'header' style --- src/printer.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/printer.rs b/src/printer.rs index b9a157c3..2d993a88 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -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(()); }