ghostty-web-umd-bindgen
wasm-bindgen bindings for the ghostty-web UMD global GhosttyWeb.
It tries to mirror the definitions from ghostty-web/dist/index.d.ts. Created from the ghostty-web version 0.4.0.
Example
use Terminal;
use ;
use window;
use HtmlElement;
let document = window.and_then.unwrap;
let terminal_container = document
.get_element_by_id
.unwrap
.
.unwrap;
let theme_options = theme.foreground.background.call;
let terminal_options = terminal_options.font_size.theme.call;
let terminal = new;
terminal.open;
Demo
A runnable demo lives in demo/.
For the demo purpose, the terminal just writes the data back to the terminal. No data processing is implemented.
Prerequisites: trunk and the wasm32-unknown-unknown
target.
Then open http://localhost:8080.