API reference: @salmonui/data-grid/engine
normalizeKeyCombofunction
import { normalizeKeyCombo } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/keyboard.
function normalizeKeyCombo(combo: string, platform?: KeyPlatform): string;
Canonical combo string: modifiers in Ctrl+Meta+Alt+Shift order, then the
key. Mod resolves to Meta on macOS and Ctrl elsewhere; Cmd/Command
mean Meta, Control means Ctrl, Option means Alt.