Expand description
Modal overlay stack.
The TUI keeps a LIFO stack of modals. The topmost modal owns the keyboard focus and is rendered on top of the current tab. Key events are first offered to the topmost modal; only if it doesn’t consume them do they fall through to the tab.
Structs§
- Config
SetModal - A config-set modal: two input fields (name + value) plus a Save/ Cancel action. Placeholder for richer forms later.
- Stack
- Stack of modals. The topmost (last-pushed) modal is the active one.
Enums§
- Config
SetField - Modal
- Anything renderable-as-modal. Kept as an enum rather than a trait
object so modal state stays
Clone/Debugand survives throughStack’sVec.