ReadonlywasmCompiled Ghostty module shared by terminals created from this runtime.
Creates a headless terminal owned by this runtime.
Disposes every owned terminal and prevents further terminal creation.
StaticcreateCreates and initializes a runtime from optional custom WASM sources.
Shared headless Ghostty WASM runtime that creates and owns terminal instances.
Remarks
Reuse one runtime for independent headless sessions so they share the loaded and compiled Ghostty module. Disposing the runtime disposes every terminal it created.