pub fn parse_key_combo(s: &str) -> Result<KeyCombo, ParseError>Expand description
Parse a key combination string into a KeyCombo.
Supported format: “Modifier+Modifier+Key”
Modifiers:
Ctrl,Control- Control keyAlt,Option- Alt/Option keyShift- Shift keySuper,Cmd,Command,Meta,Win- Super/Cmd keyCmdOrCtrl- Cmd on macOS, Ctrl on other platforms
Keys:
- Single characters:
A,B,1, etc. - Named keys:
F1-F12,Enter,Escape,Space,Tab, etc.