Documentation
¶
Overview ¶
Package confirm demonstrates pkg/confirm in the standard modal pattern: a list of files, press d to delete; a confirm dialog overlays the list via layout.ZStack(base, layout.Center(...)). The parent screen owns show/hide state and gates IsCapturingKeys; the modal owns input while up.
Result handling is fully bubbletea-idiomatic — the modal returns a confirm.ConfirmedMsg or confirm.CancelledMsg via tea.Cmd, the parent matches in its own Update, dismisses the modal, and reports the outcome to the statusbar via app.Info.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.