Skip to content

Commit ed640d8

Browse files
author
Muhammad Nauman Raza
committed
hotfix: ascii_only showing colours too
1 parent c01d1cd commit ed640d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn main() {
6464
}
6565
}
6666

67-
if !args.hide_colours {
67+
if !args.hide_colours && !args.ascii_only {
6868
println!();
6969
let colors = ["black", "red", "green", "yellow", "blue", "magenta", "cyan", "white"];
7070
let mut color_string: String = " ".to_owned();

0 commit comments

Comments
 (0)