on master help sign in
Forgot to add styling to the horizontal line.
commitfcc36b1f79c56d7d5c5d17de4216189c39b3d0da authoreth-p <32112321+eth-p@users.noreply.github.com> dateFri 11 May 2018, 22:49 (8 years ago) parent4e4110b
1 file changed+1−1
src/printer.rs+1−1
src/printer.rs+1−1
@@ -250,7 +250,7 @@ impl<'a> Printer<'a> {
250250
251251 fn print_horizontal_line(&mut self, grid_char: char) -> Result<()> {
252252 if self.panel_width == 0 {
253− writeln!(self.handle, "{}", "─".repeat(self.config.term_width))?;
253+ writeln!(self.handle, "{}", self.colors.grid.paint("─".repeat(self.config.term_width)))?;
254254 } else {
255255 let hline = "─".repeat(self.config.term_width - (self.panel_width + 1));
256256 let hline = format!("{}{}{}", "─".repeat(self.panel_width), grid_char, hline);