mirror of
https://github.com/NotAShelf/microfetch.git
synced 2024-12-28 04:42:22 +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]]
|
[[package]]
|
||||||
name = "microfetch"
|
name = "microfetch"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"color-eyre",
|
"color-eyre",
|
||||||
"criterion",
|
"criterion",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "microfetch"
|
name = "microfetch"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -84,6 +84,6 @@ fn print_system_info(fields: &Fields) {
|
||||||
|
|
||||||
std::io::stdout()
|
std::io::stdout()
|
||||||
.lock()
|
.lock()
|
||||||
.write_all(system_info.as_bytes())
|
.write_all(format!("{}\n", system_info).as_bytes())
|
||||||
.expect("Failed to write to stdout");
|
.expect("Failed to write to stdout");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue