API Reference Ghostty v#0.4.0

Copy Markdown View Source

Modules

Terminal emulator library for the BEAM.

Decodes terminal input bytes into Ghostty.KeyEvent values.

Represents a keyboard input event for the terminal.

Low-level Phoenix LiveView helpers for terminal rendering.

Stateful LiveComponent for rendering a terminal in the browser.

Represents a mouse input event for the terminal.

Pseudo-terminal for running interactive programs.

Current-terminal adapter for local terminal applications.

A managed terminal emulator backed by libghostty-vt.

Helpers for working with terminal cell tuples.

ExUnit helpers for terminal-oriented tests.

Mix Tasks

Installs Ghostty LiveView assets. Invoke with mix igniter.install ghostty

Clones the Ghostty source, builds libghostty-vt, and installs the shared library and headers into priv/.