update v1.0.4
This commit is contained in:
2
vendor/sebastian/environment/src/Console.php
vendored
2
vendor/sebastian/environment/src/Console.php
vendored
@@ -29,7 +29,7 @@ class Console
|
||||
public function hasColorSupport()
|
||||
{
|
||||
if (DIRECTORY_SEPARATOR == '\\') {
|
||||
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI');
|
||||
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI') || 'xterm' === getenv('TERM');
|
||||
}
|
||||
|
||||
if (!defined('STDOUT')) {
|
||||
|
||||
Reference in New Issue
Block a user