Expand description
Convert panes layouts into ratatui::layout::Rect with pixel-perfect edge rounding.
Primary API: resolve wraps a runtime resolve into a TerminalFrame
with quantized u16 rects. Existing free functions remain for manual use.
Structs§
- Terminal
Frame - Resolved layout with rects quantized to terminal cells (u16).
Functions§
- convert
- convert_
at - focused_
panels - A panel is focused when its id matches
focused, or when it is a decoration panel whose content kind matches the focused panel’s kind. - focused_
panels_ at - overlays
- overlays_
at - panels
- panels_
at - render_
overlays - Clear underlying cells before rendering each overlay. Call after panels.
- render_
overlays_ at - resolve
- Resolve a runtime and quantize in one step.
- resolve_
layout - Resolve a layout without runtime state.