Supervised Ghostty terminal + optional PTY pane.
This powers embedded terminal surfaces for TUI and future LiveView widgets. It is intentionally separate from the semantic Vibe chat UI.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
Functions
@spec child_spec(keyword()) :: Supervisor.child_spec()
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec close(GenServer.server()) :: :ok
@spec render_state(GenServer.server()) :: {:ok, map()} | {:error, term()}
@spec resize(GenServer.server(), pos_integer(), pos_integer()) :: :ok
@spec snapshot(GenServer.server(), snapshot_format()) :: {:ok, binary()} | {:error, term()}
@spec start_link(keyword()) :: GenServer.on_start()
@spec write(GenServer.server(), iodata()) :: :ok