Documentation
    Preparing search index...

    Function normalizeKeyCombo

    • Normalize a combo to Alt+Ctrl+Shift+Meta+Key.

      Parameters

      • combo: string

        Raw combo text, e.g. ctrl+shift+p.

      Returns string | undefined

      The normalized combo, or undefined when malformed.

      normalizeKeyCombo('shift+ctrl+s') === 'Ctrl+Shift+S';