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

Function isNativeModifierPressed

packages/pi-tui/src/native-modifiers.ts:51–59  ·  view source on GitHub ↗
(key: ModifierKey)

Source from the content-addressed store, hash-verified

49}
50
51export function isNativeModifierPressed(key: ModifierKey): boolean {
52 const helper = loadNativeModifiersHelper();
53 if (!helper) return false;
54 try {
55 return helper.isModifierPressed(key) === true;
56 } catch {
57 return false;
58 }
59}

Callers 1

forwardInputSequenceMethod · 0.90

Calls 1

Tested by

no test coverage detected