mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-02 10:59:15 +01:00
Print a horizontal header line when 'grid' style without 'header' style
This commit is contained in:
parent
35ca1c5191
commit
772ce2e4fe
@ -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(());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user