Expand description
wasm-bindgen bindings for the ghostty-web UMD global GhosttyWeb.
Tries to mirror the definitions from ghostty-web/dist/index.d.ts.
Created from the ghostty-web version 0.4.0.
Modules§
- builders
bonbuilders for dictionary option types.
Structs§
- Canvas
Renderer - Cell
Flags - Cell style flags (bitfield)
- Cursor
- Cursor position and visibility
- Dimensions
- Event
Emitter - FitAddon
- Font
Metrics - Ghostty
- Main Ghostty WASM wrapper class
- Ghostty
Cell - Cell structure matching
ghostty_cell_tin C (16 bytes) - Ghostty
Terminal - GhosttyTerminal - High-performance terminal emulator
- Ghostty
Terminal Config - Terminal configuration (passed to
ghostty_terminal_new_with_config). - Hovered
Link Range - IBuffer
- A terminal buffer (normal or alternate screen)
- IBuffer
Cell - A single cell in the buffer
- IBuffer
Cell Position - Represents a coordinate in the terminal buffer
- IBuffer
Line - A single line in the buffer
- IBuffer
Namespace - Top-level buffer API namespace
- IBuffer
Range - Buffer range for selection coordinates
- IDisposable
- IKey
Event - Keyboard event with key and DOM event
- ILink
- Represents a detected link in the terminal
- ILink
Provider - Provides link detection for a specific type of link
- IRenderable
- IScrollback
Provider - ITerminal
Addon - ITerminal
Core - ITerminal
Dimensions - ITerminal
Options - ITheme
- IUnicode
Version Provider - Unicode version provider (xterm.js compatibility)
- Input
Handler - InputHandler class
- KeyEncoder
- Key Encoder - converts keyboard events into terminal escape sequences
- KeyEvent
- Key event structure
- Kitty
KeyFlags - Kitty keyboard protocol flags
- Link
Detector - Manages link detection across multiple providers with intelligent caching
- Mods
- Modifier keys
- Osc8
Link Provider - OSC 8 Hyperlink Provider
- RGB
- RGB color
- Render
Event - Render
State Colors - Colors from RenderState (12 bytes packed)
- Render
State Cursor - Cursor state from RenderState (8 bytes packed)
- Renderer
Options - Resize
Event - Selection
Coordinates - Selection
Manager - Terminal
- UrlRegex
Provider - URL Regex Provider
Enums§
- Dirty
State - Dirty state from RenderState
- Key
- Physical key codes matching Ghostty’s internal Key enum.
- KeyAction
- Key action
- KeyEncoder
Option - Key encoder options
Traits§
Functions§
- init
- Initialize the ghostty-web library by loading the WASM module.
Type Aliases§
- IEvent
IEvent<T> = (listener: (arg: T) => void) => IDisposable- IEvent
Void - Void-payload event:
(listener: () => void) => IDisposable - Terminal
Handle - Opaque terminal pointer (WASM memory address).