pub fn completion<'a>(candidates: &[&'a str], typed: &str) -> Option<&'a str>
What completing typed yields: the candidate after the one typed in full, else the first.
typed