rdom-tui 0.5.0

Terminal rendering layer for rdom-core — flexbox layout, TUI styles, key/mouse events. Use rdom-core directly for headless DOM manipulation.
Documentation
1
2
3
4
5
6
7
8
9
//! `rdom_tui::layout` — rdom-style's layout data model
//! ([`rdom_style::layout`], re-exported whole) plus the layout pass's
//! box geometry ([`compute_content_area`], [`compute_padding_box`],
//! [`clamp_size`], …), which lives in `render::layout_pass::geometry`.

pub use crate::render::layout_pass::geometry::{
    clamp_size, compute_content_area, compute_content_area_collapsed, compute_padding_box,
};
pub use rdom_style::layout::*;