macro_rules! yesno_prompt {
    () => { ... };
    ($($arg:tt)*) => { ... };
}
Expand description

Works the same way as read_input!() Returns true if the user types ‘y’, ‘Y’, or “yes” to the prompt Returns false if the user types ‘n’, ‘N’, or “no” to the prompt defaults to yes if the user presses enter