parse_mod_prefix

Function parse_mod_prefix 

Source
pub fn parse_mod_prefix(mods: &str) -> Result<(Vec<KeyCode>, &str)>
Expand description

Parses mod keys like C-S-. Returns the KeyCodes for the modifiers parsed and the unparsed text after any parsed modifier prefixes.