Skip to content

Commit

Permalink
minor #5726 Document the support of Mintty for colors (stof)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #5726).

Discussion
----------

Document the support of Mintty for colors

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes symfony/symfony#15915
| Applies to    | 2.8+ (or 2.3+ depending on where it gets merged)
| Fixed tickets | n/a

Commits
-------

d8d4345 Document the support of Mintty for colors
  • Loading branch information
xabbuh committed Oct 3, 2015
2 parents 790e2c0 + d8d4345 commit 0814f0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
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 @@ -546,3 +547,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.

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

0 comments on commit 0814f0b

Please sign in to comment.