fn
normalizeCombo
Normalize a human combo (`'Mod-Shift-z'`) to a canonical, platform-resolved form (`'Shift-Meta-z'` on mac). Modifiers are ordered deterministically so a keydown event maps to the same string via {@link eventToCombo}.
Signature
ts
export function normalizeCombo(combo: string, platform: Platform): string{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
combo | string | — |
platform | Platform | — |
Returns
string