matterhorn-90000.0.0: Terminal client for the Mattermost chat system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Matterhorn.KeybindingConsistency

Synopsis

Documentation

ensureKeybindingConsistency :: KeyConfig KeyEvent -> [(Text, [MHKeyEventHandler])] -> Either String () Source #

Given a configuration, we want to check it for internal consistency (i.e. that a given keybinding isn't associated with multiple events which both need to get generated in the same UI mode).