Rust terminal sessions

tastty

A batteries-included toolkit for terminal parsing, session management, and automation for the Rust language.

tastty-core

Parse

Turn a stream of terminal bytes into a live screen buffer. A VT parser, virtual screen, and input encoders.

tastty

Embed

Run a real program in a managed PTY and keep its parsed screen current. Spawn, send input, resize, and render it straight into a ratatui widget.

tastty-driver

Automate

Drive a session like a test harness. Send input, wait on text, regex, or cursor conditions, then snapshot and assert on what the screen shows.