pub fn select<T>(label: &str, items: &[T]) -> usizewhere T: Display,
Prompt the user to select one item from a list, returning its index.
Panics when terminal input cannot be read.