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

WIP: wasm32 support #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

segeljakt
Copy link

@segeljakt segeljakt commented May 6, 2020

In response to murarth/linefeed#67, this is a skeleton for supporting the xterm-js browser terminal. Here is also an example of the xterm-js terminal running (without mortal): https://segeljakt.github.io/arc-script/.

I think some concrete steps to implementing this are:

  • Select the functions which we need from the xterm-js API
  • Implement bindings for those functions through wasm-bindgen.
  • Integrate the bindings with the Mortal API.
  • Create a minimal example which puts everything together with wasm-pack

I think I need some feedback on the first and third bullet. The others I can probably solve myself.

@segeljakt
Copy link
Author

segeljakt commented May 10, 2020

I created these bindings for xterm-js:

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

Successfully merging this pull request may close these issues.

1 participant