I was trying to override log.ValueStyle to add some colour, however due to it being quoted after the ValueStyle.Render(val) the added escape codes themselves end up escaped.
This results in the following output in the terminal
The expected output would be
I would guess that the fix would be to call lipgloss.Render(val) after the value has been escaped to prevent the lipgloss escape codes from being escaped as part of the value.
I was trying to override
log.ValueStyle
to add some colour, however due to it being quoted after theValueStyle.Render(val)
the added escape codes themselves end up escaped.This results in the following output in the terminal
The expected output would be
I would guess that the fix would be to call
lipgloss.Render(val)
after the value has been escaped to prevent the lipgloss escape codes from being escaped as part of the value.