wave icon indicating copy to clipboard operation
wave copied to clipboard

Keep the ASCII color codes of k8s pod logs

Open munishchouhan opened this issue 9 months ago • 0 comments

Suggestion from @ewels Was thinking about what you were saying about ASCII codes in the logs yesterday . I wonder if we can keep them (maybe via a flag in the API?). I would love to be able to render the colours if possible as it makes the logs much easier to read. The back-end used by Hub is written Python, and my favourite library Rich is able to convert ascii codes to html. So we might be able to do that on the round trip and preserve colour. On the Wave side we just have to not throw them out. What do you think?

munishchouhan avatar May 15 '24 10:05 munishchouhan