Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the support of Mintty for colors #5726

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ Coloring the Output
By default, the Windows command console doesn't support output coloring. The
Console component disables output coloring for Windows systems, but if your
commands invoke other scripts which emit color sequences, they will be
wrongly displayed as raw escape characters. Install the `ConEmu`_ or `ANSICON`_
free applications to add coloring support to your Windows command console.
wrongly displayed as raw escape characters. Install the `ConEmu`_, `ANSICON`_
or `Mintty`_ (used by default in GitBash and Cygwin) free applications
to add coloring support to your Windows command console.

Whenever you output text, you can surround the text with tags to color its
output. For example::
Expand Down Expand Up @@ -582,3 +583,4 @@ Learn More!
.. _Packagist: https://packagist.org/packages/symfony/console
.. _ConEmu: https://code.google.com/p/conemu-maximus5/
.. _ANSICON: https://github.com/adoxa/ansicon/releases
.. _Mintty: https://mintty.github.io/
5 changes: 3 additions & 2 deletions contributing/code/tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ what's going on and if the tests are broken because of the new code.

.. tip::

On Windows, install the `ConEmu`_ or `ANSICON`_ free applications to see
colored test results.
On Windows, install the `ConEmu`_, `ANSICON`_ or `Mintty`_ free applications
to see colored test results.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, this sentence is actually related to the PHPUnit color support. This means it depends on sebastianbergmann/environment#11 rather than on the Symfony PR (PHPUnit does not use the Console component)


.. _ConEmu: https://code.google.com/p/conemu-maximus5/
.. _ANSICON: https://github.com/adoxa/ansicon/releases
.. _Mintty: https://mintty.github.io/