Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangjchandler committed Nov 5, 2024
1 parent 2fc1fd3 commit e533ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generators/TerminalGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e533ec4

Please sign in to comment.