mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 11:22:30 +01:00
Print a horizontal header line when 'grid' style without 'header' style
This commit is contained in:
@@ -207,6 +207,10 @@ impl<'a> Printer for InteractivePrinter<'a> {
|
|||||||
Yellow.paint("[bat warning]"),
|
Yellow.paint("[bat warning]"),
|
||||||
input
|
input
|
||||||
)?;
|
)?;
|
||||||
|
} else {
|
||||||
|
if self.config.output_components.grid() {
|
||||||
|
self.print_horizontal_line(handle, '┬')?;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user