You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Output syntax is: "ESC[38;5;${foreGroundColorcode};48;5;${backGroundColorcode}m"
27
-
* Should be compatible with most terminals.
28
-
*/
29
-
case Ansi8;
30
-
31
-
/*
32
-
* 24-bit Ansi colors (RGB).
33
-
* Output syntax is: "ESC[38;5;${foreGroundColorcodeRed};${foreGroundColorcodeGreen};${foreGroundColorcodeBlue};48;5;${backGroundColorcodeRed};${backGroundColorcodeGreen};${backGroundColorcodeBlue}m"
34
-
* May be compatible with many modern terminals.
35
-
*/
36
-
case Ansi24;
37
-
}
1
+
<?php
2
+
3
+
/*
4
+
* This file is part of the Symfony package.
5
+
*
6
+
* (c) Fabien Potencier <fabien@symfony.com>
7
+
*
8
+
* For the full copyright and license information, please view the LICENSE
9
+
* file that was distributed with this source code.
10
+
*/
11
+
12
+
namespaceSymfony\Component\Console\Output;
13
+
14
+
/**
15
+
* @author Julien Boudry <julien@condorcet.vote>
16
+
*/
17
+
enum AnsiColor
18
+
{
19
+
/*
20
+
* Classical 4-bit Ansi colors, including 8 classical colors and 8 bright color. Output syntax is "ESC[${foreGroundColorcode};${backGroundColorcode}m"
21
+
* Must be compatible with all terminals and it's the minimal version supported.
* Output syntax is: "ESC[38;5;${foreGroundColorcode};48;5;${backGroundColorcode}m"
27
+
* Should be compatible with most terminals.
28
+
*/
29
+
case Ansi8;
30
+
/*
31
+
* 24-bit Ansi colors (RGB).
32
+
* Output syntax is: "ESC[38;5;${foreGroundColorcodeRed};${foreGroundColorcodeGreen};${foreGroundColorcodeBlue};48;5;${backGroundColorcodeRed};${backGroundColorcodeGreen};${backGroundColorcodeBlue}m"
0 commit comments