[][src]Function terminal_menu::scroll_selection

pub fn scroll_selection(name: &str, values: Vec<&str>) -> TerminalMenuItem

Make a terminal-menu item from which you can select a value from a selection.

Example

let my_selection = terminal_menu::scroll_selection("My Selection", vec![
    "First Option",
    "Second Option",
    "Third Option",
]);