tv 0.1.1

Terminal User Interface library
Documentation

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>>(())