From e533ec47226960727f65251d399c95e50f7cd9eb Mon Sep 17 00:00:00 2001 From: Ryan Chandler Date: Tue, 5 Nov 2024 00:34:41 +0000 Subject: [PATCH] wip --- src/Generators/TerminalGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generators/TerminalGenerator.php b/src/Generators/TerminalGenerator.php index 7360275..b2f2133 100644 --- a/src/Generators/TerminalGenerator.php +++ b/src/Generators/TerminalGenerator.php @@ -19,7 +19,7 @@ public function generate(array $tokens): string foreach ($tokens as $line) { foreach ($line as $token) { if ($token->settings !== null) { - $output .= $token->settings->toAnsiEscape(); + $output .= $token->settings['default']->toAnsiEscape(); } $output .= $token->token->text;