Oh awesome!! I've just added Trealla to my issues list to add it to Runno.
If you go into settings you can switch stdin echo on/off. I have stdio devices set up to return their file type as "Character Device" (see: https://github.com/taybenlor/runno/blob/main/packages/wasi-m...). It seems like some binaries handle this well and act like they are directly connected to the TTY (e.g. my quickjs example). Not sure how they determine that. I'm very much coming at this from a web-developer interested in WASI direction, and not from any experience with OSes or linux.
Thanks! This project is super cool. Looks like it is well on its way to replace the broken polyfill at https://wasi.dev.
That makes sense about the stdio file type. I will play around with it and see what I can do. I think I need to copy whatever QuickJS is doing :)
I'll keep an eye on your WASI runtime. I was just about to start hacking on the same thing. Dropped a comment in your issue about Trealla as well. Let's make WASI in the browser awesome!
If you go into settings you can switch stdin echo on/off. I have stdio devices set up to return their file type as "Character Device" (see: https://github.com/taybenlor/runno/blob/main/packages/wasi-m...). It seems like some binaries handle this well and act like they are directly connected to the TTY (e.g. my quickjs example). Not sure how they determine that. I'm very much coming at this from a web-developer interested in WASI direction, and not from any experience with OSes or linux.
Edit: btw my WASI runtime (@runno/wasi-motor) is very much in "I haven't even released it as an NPM package" state but you're welcome to copy the code and use it https://github.com/taybenlor/runno/tree/main/packages/wasi-m...