dev #1

Merged
candifloss merged 23 commits from dev into main 2024-12-02 04:26:43 +00:00
Showing only changes of commit 5a1fca980d - Show all commits

View File

@ -1,17 +0,0 @@
use colored::{ColoredString, Colorize};
pub fn err(args: Vec<String>) -> String {
if args.len() > 2 {
args[2].clone() // Error status
} else {
"none".to_string()
}
}
pub fn err_indicator(err: String) -> ColoredString {
let angle = "";
match err.as_str() {
"0" => angle.truecolor(0, 255, 180),
_ => angle.truecolor(255, 53, 94),
}
}