Function pacaptr::exec::prompt

source ·
fn prompt(prompt: &str, question: &str, expected: &[&str]) -> Result<usize>
Expand description

Gives a prompt and returns the index of the user choice.