On Fri, Jun 25, 2021 at 3:33 PM janezz55 <[email protected]> wrote: > If I output ANSI escape codes using std::cout nothing shows, when I run > the "executable" with nodejs. Is this a known problem and does there exist > a workaround? >
I don't know much about nodejs or emscripten, but I do know a little about terminal emulation having written a curses implementation a while back. Is it possible it wasn't nodejs that was interpreting the escape sequences, but really the terminal emulator you were running it in? I'm guessing emscripten won't interpret escape sequences because the browser it's running in doesn't. If you truly need escape sequences in a browser, you Might be able to find a library that does it - no guarantees. You might be better off going with the DOM inside a browser. Maybe this URL will help? https://emscripten.org/docs/api_reference/html5.h.html Good luck. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAGGBd_obBfCeiboX_u2eLDJ9DNw_imA3rhNKq3MjKY7O3RL2cA%40mail.gmail.com.
