retroglyph 0.1.0

A 2D pseudographic terminal library -- the consumer-facing facade over retroglyph-core and its backend/helper crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! The names a `retroglyph` program cannot avoid, glob-importable in one line
//! (`use retroglyph::prelude::*;`): the `App` contract, the trait a backend's own builder
//! implements to be [`launch`](Launch::launch)ed, the two style primitives, the input event/key
//! types, and the geometry aliases every `Surface`/`Backend` call takes or returns.
//!
//! Everything here also lives at its own module path (`retroglyph::app::App`,
//! `retroglyph::color::Style`, ...); the prelude is purely a convenience re-export, not a
//! separate surface.

pub use crate::app::{App, Flow, Frame, Launch};
pub use crate::color::{Color, Style};
pub use crate::event::{Event, KeyCode};
pub use crate::grid::{Pos, Rect, Size};
pub use crate::terminal::Terminal;