mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-07 16:34:13 +01:00
Fix off-by-one error with text wrapping and --style grid
This commit is contained in:
parent
bdd10b8bec
commit
f95a23f948
@ -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…
Reference in New Issue
Block a user