joomla-framework/application — pull request #30 by rkgrep (2014-09-01 18:55:55+00:00)
Title: CLI colored output disabled on Windows by default

Windows consoles does not support ANSI-colored output.
PowerShell supports write-gost command, but it is not used by PHP.
So it is better to disable colors by default on Windows platforms.

On cygwin the variable can be set explicitly, but it is a rare case.

Unfortunately, I can't emulate the situation in tests, because a predefined constant is used for OS detection.