mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Fix off-by-one error with text wrapping and --style grid
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -231,7 +231,7 @@ impl<'a> Printer<'a> {
|
|||||||
fn gen_border(&self) -> PrintSegment {
|
fn gen_border(&self) -> PrintSegment {
|
||||||
return PrintSegment {
|
return PrintSegment {
|
||||||
text: self.colors.grid.paint("│").to_string(),
|
text: self.colors.grid.paint("│").to_string(),
|
||||||
size: 2,
|
size: 1,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user