hotfix: ascii_only showing colours too

This commit is contained in:
Muhammad Nauman Raza 2024-03-24 13:50:31 +00:00
parent e566cf7afa
commit f7371872fc
Signed by: devraza
GPG key ID: 91EAD6081011574B

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();