mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-29 22:45:53 +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
|
|
@ -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…
Add table
Add a link
Reference in a new issue