Function key

Source
fn key(input: &mut &str) -> ModalResult<()>
Expand description

Take all chars, until we hit a char that isn’t allowed in a key.