Terminal: fix deprecation error on PHP 8.2

This commit is contained in:
Dylan K. Taylor 2023-01-20 01:30:39 +00:00
parent a5397d55fe
commit 74e052de51
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -92,7 +92,7 @@ abstract class Terminal{
self::$FORMAT_RESET = "\x1b[m";
$color = fn(int $code) => "\x1b[38;5;${code}m";
$color = fn(int $code) => "\x1b[38;5;{$code}m";
self::$COLOR_BLACK = $color(16);
self::$COLOR_DARK_BLUE = $color(19);