4 ms·
You would have to parse the VT-100 escape codes to generate the correct html + css (e.g. colors and cursor relocation escape sequences). It is not that straight
by trampi 11y ago
You would have to parse the VT-100 escape codes to generate the correct html + css (e.g. colors and cursor relocation escape sequences). It is not that straight forward, but on the other hand there are libraries for that.
- ck2 11y agohttp://www.pixelbeat.org/scripts/ansi2html.sh http://www.pixelbeat.org/scripts/ansi2html.sh