mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-14 08:21:01 +00:00
fix formatting
This commit is contained in:
parent
5a484b0769
commit
d27e8b36c4
2 changed files with 13 additions and 13 deletions
24
src/dots.rs
24
src/dots.rs
|
|
@ -5,21 +5,21 @@ macro_rules! GLYPH {() => {""}}
|
|||
macro_rules! GAP {() => {" "}}
|
||||
|
||||
const NO_COLORS_STR: &str = concat!(
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(), GAP!(),
|
||||
GLYPH!(),
|
||||
);
|
||||
|
||||
const COLORS_STR: &str = concat!(
|
||||
BLUE!(), GLYPH!(), GAP!(),
|
||||
CYAN!(), GLYPH!(), GAP!(),
|
||||
GREEN!(), GLYPH!(), GAP!(),
|
||||
YELLOW!(), GLYPH!(), GAP!(),
|
||||
RED!(), GLYPH!(), GAP!(),
|
||||
MAGENTA!(), GLYPH!(), RESET!(),
|
||||
BLUE!(), GLYPH!(), GAP!(),
|
||||
CYAN!(), GLYPH!(), GAP!(),
|
||||
GREEN!(), GLYPH!(), GAP!(),
|
||||
YELLOW!(), GLYPH!(), GAP!(),
|
||||
RED!(), GLYPH!(), GAP!(),
|
||||
MAGENTA!(), GLYPH!(), RESET!(),
|
||||
);
|
||||
|
||||
#[must_use]
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
uptime: get_current()?,
|
||||
memory_usage: get_memory_usage()?,
|
||||
storage: get_root_disk_usage()?,
|
||||
dots: print_dots(),
|
||||
dots: print_dots(),
|
||||
};
|
||||
print_system_info(&fields)?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue