Forgot to add styling to the horizontal line.

This commit is contained in:
eth-p committed 2018-05-11 22:49:26 -07:00
1 parent 4e4110bf50
commit fcc36b1f79
1 file changed
+1 -1
+1 -1
View File
@@ -250,7 +250,7 @@ impl<'a> Printer<'a> {
fn print_horizontal_line(&mut self, grid_char: char) -> Result<()> {
if self.panel_width == 0 {
writeln!(self.handle, "{}", "─".repeat(self.config.term_width))?;
writeln!(self.handle, "{}", self.colors.grid.paint("─".repeat(self.config.term_width)))?;
} else {
let hline = "─".repeat(self.config.term_width - (self.panel_width + 1));
let hline = format!("{}{}{}", "─".repeat(self.panel_width), grid_char, hline);