Commit c840b8b2 by Sébastien Eustace

Fix terminal colors on Windows

parent 37eb2562
...@@ -69,6 +69,8 @@ class Application(BaseApplication): ...@@ -69,6 +69,8 @@ class Application(BaseApplication):
if o is None: if o is None:
o = ConsoleOutput() o = ConsoleOutput()
self._formatter.with_colors(o.is_decorated())
o.set_formatter(self._formatter) o.set_formatter(self._formatter)
name = i.get_first_argument() name = i.get_first_argument()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment