pub async fn confirm_core<S: TerminalSetup, E: EventSource>(
workdir: &Path,
concern: &WorkdirConcern,
setup: &mut S,
events: &mut E,
) -> boolExpand description
Put the question on screen and wait for an answer.
Generic over the same crate::tui::TerminalSetup/crate::tui::EventSource seams lev setup
uses, so the whole flow runs against a TestBackend with canned keys - the
real crossterm pair lives in the binary, where the terminal I/O belongs.
Returns whether to proceed. Anything that is not an explicit yes is a no:
Esc, n, a closed event source, or a draw that fails. A confirmation that
defaults to yes on an error is not a confirmation.