Skip to main content

Module modal

Module modal 

Source
Expand description

Modal overlay types.

The TUI keeps a LIFO stack of modals via crate::overlay::OverlayStack. The topmost modal owns keyboard focus and is rendered on top of the current tab.

Re-exports§

pub use crate::form::Form;

Structs§

Csv
Draft
FilterBuilder
Opened
A row form to open: its shape and the values it starts with.

Enums§

ConfirmAction
Action to execute when a confirm overlay is accepted with y or Enter.
Modal
Anything renderable as an overlay. Kept as an enum rather than a trait object so modal state stays Debug and survives through the crate::overlay::OverlayStack.

Type Aliases§

Spec
A button label with ~X~ hotkey marks, and what pressing it does.