fn parse_action(s: &str) -> Option<KeyAction>
Parse an action name string into a KeyAction.
KeyAction