Fix double spaces when outputting without wrapping.

This commit is contained in:
eth-p 2018-05-12 14:02:47 -07:00
parent f7e055b6b7
commit b4cfc9633c
No known key found for this signature in database
GPG Key ID: 1F8DF8091CD46FBC
1 changed files with 1 additions and 1 deletions

View File

@ -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() {