Various tweaks

This commit is contained in:
Gregory Schier
2024-07-22 17:55:28 -07:00
parent 47d4fffc20
commit 41dfa15feb
5 changed files with 26 additions and 10 deletions

View File

@@ -55,9 +55,9 @@ pub async fn node_start<R: Runtime>(app: &AppHandle<R>, temp_dir: &PathBuf) -> S
// read events such as stdout
while let Some(event) = rx.recv().await {
if let CommandEvent::Stdout(line) = event {
println!("{}", String::from_utf8_lossy(line.as_slice()));
print!("{}", String::from_utf8_lossy(line.as_slice()));
} else if let CommandEvent::Stderr(line) = event {
println!("{}", String::from_utf8_lossy(line.as_slice()));
print!("{}", String::from_utf8_lossy(line.as_slice()));
}
}
});