Function input

Source
pub fn input(
    prompt: ColoredString,
    condition: impl Fn(&str) -> bool,
) -> Result<String>