Skip to main content

Module layout

Module layout 

Source
Expand description

Layout engine for TUI

Custom layout engine optimized for terminal user interfaces. Supports flexbox, block, and grid layouts using integer cell coordinates.

Re-exports§

pub use responsive::breakpoints;
pub use responsive::max_width;
pub use responsive::min_width;
pub use responsive::responsive as responsive_value;
pub use responsive::responsive as responsive_value;
pub use responsive::responsive_layout;
pub use responsive::Breakpoint;
pub use responsive::Breakpoints;
pub use responsive::MediaQuery;
pub use responsive::ResponsiveLayout;
pub use responsive::ResponsiveValue;

Modules§

responsive
Responsive layout breakpoints for terminal applications

Structs§

LayoutEngine
Layout engine using custom TUI-optimized algorithm
Rect
A rectangle representing a widget’s position and size

Enums§

LayoutError
Errors that can occur during layout operations

Functions§

merge_rects
Merge overlapping rectangles to minimize the number of update regions

Type Aliases§

LayoutResult
Result type for layout operations