From 1b8062e0afbc31c82ceb30f2a76299e8752c113e Mon Sep 17 00:00:00 2001 From: Lovecraftian Horror Date: Fri, 10 Apr 2020 23:22:05 -0400 Subject: [PATCH] Switch `--color always` to force styling --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 98e14076b..70e520db9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -322,8 +322,8 @@ fn main() { let ansi_support = true; let enable_styles = match args.flag_color { - // Always use styling as long as there is `ansi_support` - ColorOptions::Always => ansi_support, + // Attempt to use styling if instructed + ColorOptions::Always => true, // Enable styling if: // * There is `ansi_support` // * NO_COLOR env var isn't set: https://no-color.org/