Skip to main content

Module spawner

Module spawner 

Source
Expand description

spawn — fork a child process under a fresh pseudo-tty. Returns the PtyHandle (writer + resize) and the published Arc<ArcSwap<TerminalSnapshot>> cell the renderer reads from.

T1 (2026-05-22): the reader task is a “drain bytes, build a naive snapshot” stub (no full VT/xterm parsing yet). T2 swaps in alacritty_terminal::Term; the crate’s published interface is unchanged.

Structs§

SpawnConfig
Inputs to spawn.
SpawnHandles
Successful spawn handles.

Enums§

SpawnError

Functions§

spawn
Spawn a child under a PTY. Returns: