mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-07 13:41:14 +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()
|
regions.iter()
|
||||||
.map(|&(style, text)| as_terminal_escaped(style, text, true_color, colored_output))
|
.map(|&(style, text)| as_terminal_escaped(style, text, true_color, colored_output))
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
.join(" ")
|
.join("")
|
||||||
)?;
|
)?;
|
||||||
} else {
|
} else {
|
||||||
for &(style, text) in regions.iter() {
|
for &(style, text) in regions.iter() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user