Module utils

Module utils 

Source

Functionsยง

balanced_split
Splits a value into two balanced parts.
build_command
Builds the command to run.
fill_on_even
Fills the size with the given char, but only on even numbers.
filler
Fills the size with the given char.
get_flag
get_terminal_width
Gets the current terminal width.
perc_to_float
Parses a percentage string into a usize.
scale_between
Scales a vector of numbers between a min and max value.
usize_to_status
Converts a usize to a colored status bar.