Hi again Sasha... I don't know if you're still working on this, but I found something that let me achieve what you need: https://github.com/kripken/emscripten/pull/4155
Hope this helps! On Sunday, November 17, 2013 at 11:17:07 AM UTC-4:30, Sasha Fonseca wrote: > > Hello, > > I'm using Emscripten to convert a game to a Web format. The original code > is in C++ and as it is converted to JavaScript, it runs just fine. However, > my game is text based right now (I'm going to try to implement a graphical > interface soon) and it needs some input from the user. When I run the > program in a browser, the input method is a pop-up prompt (I guess this is > done by Emscripten by default). > > How can I change this? I do a few stdout prints with instructions to the > user and these can't been seen correctly because the window prompt blocks > the message. I would like this to be done in a more "console/terminal" like > manner. Is this possible? I tried looking at the converted code, but it's > got more than 160 000 lines of low level JavaScript code or something > similiar. > > Thank you for your time > -- 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]. For more options, visit https://groups.google.com/d/optout.
