Function broot::keys::parse_key[][src]

pub fn parse_key(raw: &str) -> Result<KeyEvent, ConfError>
Expand description

parse a string as a keyboard key definition.

About the case: The char we receive as code from crossterm is usually lowercase but uppercase when it was typed with shift (i.e. we receive “g” for a lowercase, and “shift-G” for an uppercase)