rburns / ansi-to-html

Convert ansi escaped text streams to html.
MIT License
357 stars 48 forks source link

Add support for PTY pseudo terminal #86

Open Employee87 opened 3 years ago

Employee87 commented 3 years ago

I'm using this https://github.com/microsoft/node-pty and this ansi-to-html doesn't work well with it, it works maybe 50%, but still leaves some invalid text left. Is it possible to support this?

rburns commented 3 years ago

I'm not sure how the output would need to be altered to support node-pty. do you have some examples of input that is not handled well?