-
Notifications
You must be signed in to change notification settings - Fork 280
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
[Feature request] WASM Frienly #654
Comments
It could be some feature flag that implements different api for wasm for those particular functions. I am not much in favor of an entire backend abstraction as i'd like to keep this library as minimal as possible. |
For Some imports needs to come from |
I've lightly forked crossterm to support a web version of a TUI of mine:[*]
FWIW, the changes that I needed were fairly minimal, just adding a few Anyway, sharing just in case it's useful. [*] Not the first person to do this, see here. |
May be my question is not addressed correctly, just close issue.
I working on WASI based plugin system. And for terminal applications such as helix I think the best approach would be just compile applications like sidetree to WASM and communicate through stdin/stdout. Most of such programs are based on
TUI
which is based oncrossterm
, but insidecrossterm
there are someioctl
calls (to get terminal size, cursor position and other). Is it possible to add some WASM backend which would communicate through stdin/stdout like SSH, or has some backend trait and make generalized version of crossterm?The text was updated successfully, but these errors were encountered: