shell name & colors in output

This commit is contained in:
raf 2024-08-04 13:07:27 +03:00
commit a44db5e5f3
Signed by: NotAShelf
GPG key ID: AF26552424E53993
3 changed files with 37 additions and 20 deletions

View file

@ -4,3 +4,10 @@ pub const CYAN: &str = "\x1b[36m";
pub const GREEN: &str = "\x1b[32m";
pub const YELLOW: &str = "\x1b[33m";
pub const RED: &str = "\x1b[31m";
pub const MAGENTA: &str = "\x1b[35m";
pub fn print_dots() -> Result<String, std::io::Error> {
let colors = format!("{BLUE}{CYAN}{GREEN}{YELLOW}{RED}{MAGENTA}{RESET}");
Ok(colors)
}