Skip to main content

same_keys

Function same_keys 

Source
pub fn same_keys(a: &str, b: &str, apple: bool) -> bool
Expand description

Whether two shortcuts are pressed with the same keys on a system that is (apple) or is not an Apple one: elsewhere cmd is Control, so cmd+k and ctrl+k are one shortcut there. Texts that are no shortcut are the same as nothing else.