Skip to main content

Crate urushi_tui

Crate urushi_tui 

Source
Expand description

Full-screen terminal UI building blocks for Urushi.

Screen is the synchronous presentation engine: it owns Urushi cell buffers and frame history and writes committed changes through a caller’s urushi_terminal::CommandWriter. It does not own input, terminal queries, raw mode, session restoration, an application model, or an async runtime. Callers drive it synchronously from their own loop.

terminal contains the Screen and Frame presentation API.

§Cargo features

  • crossterm is enabled by default and re-exports the portable Crossterm backend. Disable default features when the caller supplies another urushi_terminal::CommandWriter.

Re-exports§

pub use terminal::Frame;
pub use terminal::Rect;
pub use terminal::Screen;

Modules§

crossterm
Crossterm implementation of the Urushi backend contracts. Crossterm implementation of Urushi’s terminal backend capabilities.
terminal
Synchronous full-screen presentation over terminal command primitives.

Structs§

Position
TerminalSize
The visible dimensions of a terminal in character cells.