Expand description
A resizable multi-pane layout: Splitter arranges N panes along one axis,
separated by 1-cell dividers that the user drags (or moves from the keyboard
in resize mode) to resize the panes. Constraints bound each pane’s size,
DividerStyle sets how each divider looks and whether it moves, and
Splitter::joined connects the divider lines to the window frame and to
each other through the junction glyph selectors.
Guide: Windows & the desktop.
§Turbo Vision heritage
tvision-rs extension: no Turbo Vision counterpart. A splitter is a Group
specialization; Turbo Vision lays out panes only by hand-placed bounds and
grow modes.
Re-exports§
pub use layout::Constraints;pub use layout::Orientation;
Modules§
- layout
- Pure layout math for the splitter: constraint types + the flexbox solver. No view, no rendering — fully unit-testable.
Structs§
- Splitter
- A generic, N-ary, resizable multi-pane view. One axis, N child panes, N−1
dividers in 1-cell gaps. Embeds a
Groupand delegates the un-overriddenViewmethods to it. Seedocs/superpowers/specs/2026-06-13-splitter-design.md.
Enums§
- Divider
Style - How the seam after a given pane looks and behaves.