diff --git a/src/condition.rs b/src/condition.rs index 6444c17..fe1dbb7 100644 --- a/src/condition.rs +++ b/src/condition.rs @@ -347,6 +347,10 @@ conditions! { feature = "detect-env" !env_set_or("NO_COLOR", false), YES_COLOR: no_color, YES_COLOR_LIVE: no_color_live, + + env_set_or("FORCE_COLOR", false), + FORCE_COLOR: force_color, + FORCE_COLOR_LIVE: force_color_live, } conditions! { all(feature = "detect-env", feature = "detect-tty")