MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / normalizeKittyFunctionalCodepoint

Function normalizeKittyFunctionalCodepoint

packages/pi-tui/src/keys.ts:356–358  ·  view source on GitHub ↗
(codepoint: number)

Source from the content-addressed store, hash-verified

354]);
355
356function normalizeKittyFunctionalCodepoint(codepoint: number): number {
357 return KITTY_FUNCTIONAL_KEY_EQUIVALENTS.get(codepoint) ?? codepoint;
358}
359
360function normalizeShiftedLetterIdentityCodepoint(codepoint: number, modifier: number): number {
361 const effectiveModifier = modifier & ~LOCK_MASK;

Callers 3

matchesKittySequenceFunction · 0.85
formatParsedKeyFunction · 0.85
decodeKittyPrintableFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected