MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / isYankKey

Function isYankKey

restored-src/src/hooks/useSearchInput.ts:52–54  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

50}
51
52function isYankKey(e: KeyboardEvent): boolean {
53 return (e.ctrl || e.meta) && e.key === 'y'
54}
55
56// Special key names that fall through the explicit handlers above the
57// text-input branch (return/escape/arrows/home/end/tab/backspace/delete

Callers 1

handleKeyDownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected