Expand description
The Panel seam — the persistent editor-screen surfaces (activity rail,
drawer, editor) behind one interface, the persistent-surface counterpart to
the Overlay trait. See CONTEXT.md (“TUI surfaces”).
Structs§
- Modal
Spec - What a popup shell looks like. Pair with
modal_chrome.
Enums§
- ModalBg
- The popup background: regular panel bg, or the harder shade spec §6 gives the telescope-style modals.
- Panel
Kind - Identifies a persistent panel. Closed set, mirrors
OverlayKind.
Functions§
- modal_
chrome - The one way every popup draws its shell (spec §6): clear the area behind it, draw the titled/bordered block, return the inner rect to fill. Centering stays with the caller — popups center by percent, by fixed size, or dock (which-key), but the shell is identical.
- panel_
block - Shared panel chrome: a single-line box with the title embedded in the top
border (
┌─ Title ────┐) and the border colored by focus state — the one way every panel draws its frame.