-
I'm trying to Emscripten a code that outputs colored text when running in a "regular" terminal. How do I get colored output in browser? Do I need to integrate using xterm_pty, xterm.js or are there other solutions? |
Beta Was this translation helpful? Give feedback.
Answered by
sbc100
Feb 15, 2023
Replies: 1 comment 3 replies
-
Emscripten doesn't provide any kind of terminal emulation. The example page just uses a simple textarea to display output. Anything more complex would likely involve something like xterm.js yes. I think there are many options out there to choose from. Another one that is very complete (IIRC) is https://hterm.org/. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
iliakan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Emscripten doesn't provide any kind of terminal emulation. The example page just uses a simple textarea to display output. Anything more complex would likely involve something like xterm.js yes. I think there are many options out there to choose from. Another one that is very complete (IIRC) is https://hterm.org/.