Function lsio::prompts::confirm
[−]
[src]
pub fn confirm(prompt: &str, same_line: bool, color: Color) -> bool
confirmation prompt in a specific color.
Allows you to specify the prompt answer to be on the same line as the prompt or on the line below it. Returns true or false.