From fcc36b1f79c56d7d5c5d17de4216189c39b3d0da Mon Sep 17 00:00:00 2001 From: eth-p <32112321+eth-p@users.noreply.github.com> Date: Fri, 11 May 2018 22:49:26 -0700 Subject: [PATCH] Forgot to add styling to the horizontal line. --- src/printer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/printer.rs b/src/printer.rs index 65906a70..f19efe73 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -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);