From b4cfc9633c30cbf6d98fcce670caf4bf22dbc4bb Mon Sep 17 00:00:00 2001 From: eth-p <32112321+eth-p@users.noreply.github.com> Date: Sat, 12 May 2018 14:02:47 -0700 Subject: [PATCH] Fix double spaces when outputting without wrapping. --- src/printer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/printer.rs b/src/printer.rs index 6867da96..91aaa36a 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -135,7 +135,7 @@ impl<'a> Printer<'a> { regions.iter() .map(|&(style, text)| as_terminal_escaped(style, text, true_color, colored_output)) .collect::>() - .join(" ") + .join("") )?; } else { for &(style, text) in regions.iter() {