Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASI: Handling things like ioctl and termio to get Terminal size #587

Closed
torch2424 opened this issue May 13, 2019 · 2 comments
Closed

WASI: Handling things like ioctl and termio to get Terminal size #587

torch2424 opened this issue May 13, 2019 · 2 comments
Labels

Comments

@torch2424
Copy link
Contributor

Hello,

Been working on a fun little CLI project, to do matrix rain effect using the wasi bindings, and using wasa.

I'm using Wapm / Wasmer to run my Wasm module.

I opened this issue on my project: torch2424/wasm-matrix#1 . Which Essentially comes down to, I can't figure out how to get the terminal size using the current available wasi bindinds.

Let me know if this is an Assemblyscript issue, or something I should open on the actual spec repo: https://github.com/WebAssembly/WASI

Thanks! 😄

@dcodeIO
Copy link
Member

dcodeIO commented May 13, 2019

As far as I can tell our WASI bindings should be relatively complete (that is: at the time of creating them). Maybe there's another intended way of achieving the same, but I unfortunately lack the experience of actually using the interface / the underlying C APIs. Someone else maybe? :)

@torch2424
Copy link
Contributor Author

torch2424 commented May 23, 2019

Closing in favor of: WebAssembly/WASI#42

And thanks for the help @dcodeIO 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants