Fix double spaces when outputting without wrapping.

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

@ -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…
Cancel
Save