mirror of
https://github.com/NotAShelf/microfetch.git
synced 2024-12-26 20:12:21 +00:00
append newline to write_all
output
Fixes a small bug that resulted in terminal artifacts. My bad, gang.
This commit is contained in:
parent
c97fa33aec
commit
4b7836d572
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -332,7 +332,7 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
|||
|
||||
[[package]]
|
||||
name = "microfetch"
|
||||
version = "0.4.3"
|
||||
version = "0.4.4"
|
||||
dependencies = [
|
||||
"color-eyre",
|
||||
"criterion",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "microfetch"
|
||||
version = "0.4.3"
|
||||
version = "0.4.4"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -84,6 +84,6 @@ fn print_system_info(fields: &Fields) {
|
|||
|
||||
std::io::stdout()
|
||||
.lock()
|
||||
.write_all(system_info.as_bytes())
|
||||
.write_all(format!("{}\n", system_info).as_bytes())
|
||||
.expect("Failed to write to stdout");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue