pub fn items<T: Display + Eq>(
prompt: impl AsRef<str>,
items: impl IntoIterator<Item = T>,
default: impl IntoIterator<Item = usize>,
) -> PromptResult<Vec<T>>Available on crate feature
prompt only.Expand description
Prompts for several items chosen from a list (a multi-select), with the given item indices selected by default.