hotfix: ascii_only showing colours too

This commit is contained in:
Muhammad Nauman Raza 2024-03-24 13:50:31 +00:00
parent c01d1cd9db
commit ed640d8c71
No known key found for this signature in database
GPG key ID: 31BC90D626D2DBBE

View file

@ -64,7 +64,7 @@ fn main() {
}
}
if !args.hide_colours {
if !args.hide_colours && !args.ascii_only {
println!();
let colors = ["black", "red", "green", "yellow", "blue", "magenta", "cyan", "white"];
let mut color_string: String = " ".to_owned();