|
|
@@ -154,8 +154,8 @@ class ConsoleOutput
|
|
|
/**
|
|
|
* Construct the output object.
|
|
|
*
|
|
|
- * Checks for a pretty console environment. Ansicon allows pretty consoles
|
|
|
- * on windows, and is supported.
|
|
|
+ * Checks for a pretty console environment. Ansicon and ConEmu allows
|
|
|
+ * pretty consoles on windows, and is supported.
|
|
|
*
|
|
|
* @param string $stream The identifier of the stream to write output to.
|
|
|
*/
|
|
|
@@ -163,7 +163,7 @@ class ConsoleOutput
|
|
|
{
|
|
|
$this->_output = fopen($stream, 'w');
|
|
|
|
|
|
- if ((DS === '\\' && !(bool)env('ANSICON')) ||
|
|
|
+ if ((DS === '\\' && !(bool)env('ANSICON') && env('ConEmuANSI') !== 'ON') ||
|
|
|
(function_exists('posix_isatty') && !posix_isatty($this->_output))
|
|
|
) {
|
|
|
$this->_outputAs = self::PLAIN;
|