Expand description
Modal dialog trait + a stack that routes input to the topmost dialog. T10 defines the abstraction; T11+ wire actual dialogs (root menu, serial port setup, …) on top of it.
Structs§
- Modal
Stack - Stack of
Dialogs. The topmost dialog receives keys first;DialogOutcome::Closepops it.
Enums§
- Dialog
Action - User-level actions emitted by dialogs. The
TuiApporchestrator consumes these and calls intortcom-core/rtcom-configto apply them. - Dialog
Outcome - What a
Dialogwants the surroundingModalStackto do after it has processed an input event.
Traits§
- Dialog
- A full-screen or modal dialog rendered over the main TUI chrome.
Functions§
- centred_
rect - Centre a
width x heightrectangle insideouter, clipping if the outer is smaller than the requested size.