Fix off-by-one error with text wrapping and --style grid

pull/102/head
eth-p 6 years ago
parent bdd10b8bec
commit f95a23f948
No known key found for this signature in database
GPG Key ID: 1F8DF8091CD46FBC

@ -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,
};
}

Loading…
Cancel
Save