Skip to main content

select_parse_reply

Function select_parse_reply 

Source
pub fn select_parse_reply(reply: &str, items: &[String]) -> Option<String>
Expand description

Parse select reply (from loop.c execselect)

Given the user’s input and the item list, returns the selected item or None if the input is invalid.