This crate provides Rust-WebAssembly bindings to the xterm-js
Javascript library and can be used to setup a custom web-based command-line for your crate, without much effort, running at the client-side.
xterm-js
can be activated by compiling this crate with the corresponding features enabled:
xterm-addon-attach
xterm-addon-fit
xterm-addon-ligatures
xterm-addon-search
xterm-addon-serialize
xterm-addon-unicode11
xterm-addon-web-links
xterm-addon-webgl
package.json
in the root directory and www
directory which specifies the dependencies to the xterm-js
library. As in the example:
xterm-js-rs
in existing Rust-REPL-libraries (linefeed, liner, rustyline, termwiz) is greatly appreciated!