Using Ansi Escape Sequences in Elm

Hi, I have written a programm that sends python cod to the server. Here the output from the execution, pylint and pyytest is captured and the server send it back to Elm. The captured output for pytest contains escape sequences like this : “\u001b[0m\u001b[33m =============================\u001b[0m\n”.
Is there a easy way to use these escape sequences and show the result like it is shown on the terminal?

wsowens/term seams to do what you want (assuming you want to render the some escaped strings into elm/html)

Thank you very much. That’s exactly, what I was looking for.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.