Skip to main content

Crate panes_ratatui

Crate panes_ratatui 

Source
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§

TerminalFrame
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.