File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ enum TerminalStyle: string
10
10
case RESET = "0m " ;
11
11
case RESET_INTENSITY = "22m " ;
12
12
case RESET_ITALIC = "23m " ;
13
- case VISIBLE = "28m " ;
14
13
case RESET_UNDERLINE = "24m " ;
15
14
case RESET_OVERLINE = "55m " ;
16
15
case RESET_STRIKETHROUGH = "29m " ;
17
- case NON_REVERSE_TEXT = "27m " ;
16
+ case RESET_REVERSE_TEXT = "27m " ;
17
+ case RESET_BACKGROUND = "49m " ;
18
+ case RESET_FOREGROUND = "39m " ;
19
+ case VISIBLE = "28m " ;
18
20
19
21
case FG_BLACK = "30m " ;
20
22
case FG_DARK_RED = "31m " ;
@@ -266,6 +268,6 @@ public static function STRIKETHROUGH(string $text = ''): string
266
268
267
269
public static function REVERSE_TEXT (string $ text = '' ): string
268
270
{
269
- return self ::ESC ->value . self ::REVERSE_TEXT ->value . $ text . self ::ESC ->value . self ::NON_REVERSE_TEXT ->value ;
271
+ return self ::ESC ->value . self ::REVERSE_TEXT ->value . $ text . self ::ESC ->value . self ::RESET_REVERSE_TEXT ->value ;
270
272
}
271
273
}
You can’t perform that action at this time.
0 commit comments