terminal-control 0.3.0

Control and test terminal applications through stable visible state
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Control, model, render, and record terminal applications.
//!
//! The command-line interface is built on this library. A [`frame::Frame`] is the stable,
//! structured representation of one visible terminal shot, while a `.termctrl` recording is a
//! JSON Lines stream of [`recording::Entry`] values.
//!
//! ```
//! let shot = terminal_control::shot::from_ansi(b"ready".to_vec(), 1, 20, 1024).unwrap();
//! assert_eq!(shot.frame.text(), "ready");
//! ```

pub mod driver;
pub mod frame;
pub mod recording;
pub mod render;
pub mod session;
pub mod shot;