Skip to content

GhosttyRuntime

readonly bridge: CallbackBridge


readonly exports: GhosttyWasmExports


readonly layouts: AbiLayouts


readonly memory: WasmMemory

configurePngDecoder(decoder?): void

(bytes) => DecodedPng | undefined

void


createRenderState(terminal): GhosttyRenderState

GhosttyTerminal

GhosttyRenderState


createTerminal(options?): GhosttyTerminal

TerminalOptions

GhosttyTerminal


dispose(): void

void


ensureActive(): void

void


releaseRenderState(renderState): void

GhosttyRenderState

void


releaseTerminal(terminal): void

GhosttyTerminal

void


static create(options?): Promise<GhosttyRuntime>

RuntimeOptions

Promise<GhosttyRuntime>