Skip to content

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

Closed

Description

@torch2424

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! 😄

Activity

  1. dcodeIO commented on May 13, 2019

    @dcodeIO
    Member

    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? :)

  2. torch2424 commented on May 23, 2019

    @torch2424
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions