spinner: Work around the lack of newline after completion

This commit is contained in:
Zhaofeng Li 2022-01-22 17:50:53 -08:00
parent 57b3ccca85
commit 0d9198c351

View file

@ -186,6 +186,9 @@ impl ProgressOutput for SpinnerOutput {
match message {
Message::Complete => {
// To work around https://github.com/console-rs/indicatif/issues/342
println!();
return Ok(self);
}
Message::Print(line) => {