Guides
Task-focused walkthroughs for common terminal UI work. Each guide is grounded in a runnable example from the repository.
Inline renderingDraw in the normal buffer without taking over the screen.
Mouse inputClicks, motion, the wheel, and pixel-accurate tracking.
Styling textColors, attributes, and OSC 8 hyperlinks.
Keyboard inputParse and match keys, from plain chars to kitty chords.
Handling pasteCapture pasted text and spill large pastes to disk.
Querying the terminalAsk for the background color, cell size, and more.
Custom probesCompose local and core probes in one startup batch.
Async event loopsDrive Program input with a futures stream.
Pause and resumeShell out to $EDITOR and come back cleanly.
Offscreen renderingRender to a buffer for snapshots and transcripts.
The Ratatui backendRender Ratatui widgets through uncurses.
