Function arrow_select
Source pub fn arrow_select(
items: &[(String, String)],
title: &str,
default_index: usize,
) -> Option<String>
Expand description
Arrow-key selector that renders on stderr and returns selected value.
§Arguments
items - List of (label, value) tuples
title - Title shown above the list
default_index - Initially highlighted item
§Returns
The value of the selected item, or None if cancelled.