fix: Terminal formatter was skipping things that it could highlight

This commit is contained in:
2024-09-21 20:57:24 -03:00
parent 4432da2893
commit 3bf8172b89
2 changed files with 1 additions and 3 deletions

View File

@ -34,8 +34,6 @@ module Tartrazine
end
def colorize(text : String, token : String) : String
style = theme.styles.fetch(token, nil)
return text if style.nil?
if theme.styles.has_key?(token)
s = theme.styles[token]
else