mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 02:01:05 +00:00
Fix double spaces when outputting without wrapping.
This commit is contained in:
parent
f7e055b6b7
commit
b4cfc9633c
@ -135,7 +135,7 @@ impl<'a> Printer<'a> {
|
||||
regions.iter()
|
||||
.map(|&(style, text)| as_terminal_escaped(style, text, true_color, colored_output))
|
||||
.collect::<Vec<_>>()
|
||||
.join(" ")
|
||||
.join("")
|
||||
)?;
|
||||
} else {
|
||||
for &(style, text) in regions.iter() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user