diff --git a/src/ConsoleColor.php b/src/ConsoleColor.php index d46e8643..714424ea 100644 --- a/src/ConsoleColor.php +++ b/src/ConsoleColor.php @@ -205,6 +205,11 @@ public function removeTheme($name) */ public function isSupported() { + // The COLLISION_FORCE_COLORS variable is for internal purposes only + if (getenv('COLLISION_FORCE_COLORS') !== false) { + return true; + } + if (DIRECTORY_SEPARATOR === '\\') { return getenv('ANSICON') !== false || getenv('ConEmuANSI') === 'ON'; }