pub fn yes_no_select(title: &str) -> Result<Option<bool>, InquireError>Expand description
Displays a yes/no selection prompt with a minimal UI.
Returns Result::Ok (Option::Some (_)) on selection, Result::Ok (Option::None) if
canceled/interrupted.
ยงErrors
- Rendering the prompt or terminal interaction inside [
inquire] fails.