File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,6 @@ You can install the component in 2 different ways:
20
20
* :doc: `Install it via Composer </components/using_components >` (``symfony/console `` on `Packagist `_);
21
21
* Use the official Git repository (https://github.com/symfony/Console).
22
22
23
- .. note ::
24
-
25
- Windows does not support ANSI colors by default so the Console component detects and
26
- disables colors where Windows does not have support. However, if Windows is not
27
- configured with an ANSI driver and your console commands invoke other scripts which
28
- emit ANSI color sequences, they will be shown as raw escape characters.
29
-
30
- To enable ANSI color support for Windows, please install `ANSICON `_.
31
-
32
23
Creating a basic Command
33
24
------------------------
34
25
@@ -124,6 +115,14 @@ This prints::
124
115
Coloring the Output
125
116
~~~~~~~~~~~~~~~~~~~
126
117
118
+ .. note ::
119
+
120
+ By default, Windows command console doesn't support output coloring. The
121
+ Console component disables output coloring for Windows systems, but if your
122
+ commands invoke other scripts which emit color sequences, they will be
123
+ wrongly displayed as raw escape characters. Install the free `ANSICON `_
124
+ application to add coloring support to your Windows command console.
125
+
127
126
Whenever you output text, you can surround the text with tags to color its
128
127
output. For example::
129
128
You can’t perform that action at this time.
0 commit comments