diff --git a/src/main.rs b/src/main.rs index fcf7f0e..f2f3a7b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -135,7 +135,10 @@ async fn main() -> anyhow::Result<()> { // Stream of "blue text" - status updates from the server if let Ok(bytes_read) = (*get_arc!(chan)).stderr().read(&mut buf) { let s = String::from_utf8_lossy(&buf[..bytes_read]); - writeln!(stdout(), "{}\r", s.blue())?; + print!( + "{}\r", + s.split('\n').collect::>().join("\r\n").blue() + ); stdout().flush()?; }