Function: normaliseCombo()
normaliseCombo(
__namedParameters):KeyCombo
Defined in: src/lib/utils/shortcuts/index.ts:209
A key combination with only the modifiers that are on, e.g. to compare or save it.
Parameters
__namedParameters
Returns
Example
normaliseCombo({ key: "s", cmd: true, shift: false }); // { key: "s", cmd: true }