hotfix: ascii_only showing colours too

This commit is contained in:
Muhammad Nauman Raza 2024-03-24 13:50:31 +00:00
parent 364e6c3ef4
commit 445bbfe239

View file

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