2 releases
Uses new Rust 2024
| 0.1.1 | Apr 26, 2026 |
|---|---|
| 0.1.0 | Sep 25, 2025 |
#657 in Command-line interface
245KB
5.5K
SLoC
tv - A terminal manipulation library
tv provides a simple API for building terminal user interfaces.
Example
use tv::{Screen, Color, Attr};
let mut scr = Screen::init()?;
scr.move_print(5, 10, "Hello, World!")?;
scr.add_attribute(Attr::BOLD)?;
scr.print("Bold text")?;
scr.refresh()?;
scr.get_char()?;
scr.endwin()?;
# Ok::<(), Box<dyn std::error::Error>>(())
Dependencies
~1.5MB
~27K SLoC