MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / hasModifier

Function hasModifier

cli/src/utils/keyboard-actions.ts:114–115  ·  view source on GitHub ↗
(key: KeyEvent)

Source from the content-addressed store, hash-verified

112 | { type: 'none' }
113
114const hasModifier = (key: KeyEvent) =>
115 Boolean(key.ctrl || key.meta || key.option)
116
117/**
118 * Pure function that resolves a keyboard action based on key event and state.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected