mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-08 22:11:16 +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]"),
|
Yellow.paint("[bat warning]"),
|
||||||
input
|
input
|
||||||
)?;
|
)?;
|
||||||
|
} else {
|
||||||
|
if self.config.output_components.grid() {
|
||||||
|
self.print_horizontal_line(handle, '┬')?;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user