style: template crs style

This commit is contained in:
2020-07-26 00:32:20 +08:00
parent b2ab9e9bfd
commit b3bf0b99b9

View File

@@ -6,12 +6,12 @@ fn main() {
}
// ------------------------------------------------------------------------------------ //
const RED: &str = "\x1B[91m";
const GREEN: &str = "\x1B[92m";
const RED: &str = "\x1B[91m";
const GREEN: &str = "\x1B[92m";
const YELLOW: &str = "\x1B[93m";
const BOLD: &str = "\x1B[1m";
const UNDER: &str = "\x1B[4m";
const END: &str = "\x1B[0m";
const BOLD: &str = "\x1B[1m";
const UNDER: &str = "\x1B[4m";
const END: &str = "\x1B[0m";
fn is_verbose() -> bool { if let Ok(v) = std::env::var("VERBOSE") { v == "1" } else { false } }