From f95a23f9482804148923861cc5decf83ca7c3311 Mon Sep 17 00:00:00 2001 From: eth-p <32112321+eth-p@users.noreply.github.com> Date: Sat, 12 May 2018 12:07:41 -0700 Subject: [PATCH] Fix off-by-one error with text wrapping and --style grid --- src/printer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/printer.rs b/src/printer.rs index e1b6b651..94b6ed7b 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -231,7 +231,7 @@ impl<'a> Printer<'a> { fn gen_border(&self) -> PrintSegment { return PrintSegment { text: self.colors.grid.paint("│").to_string(), - size: 2, + size: 1, }; }