MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isKillKey

Function isKillKey

source code/hooks/useSearchInput.ts:44–52  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

42}
43
44function isKillKey(e: KeyboardEvent): boolean {
45 if (e.ctrl && (e.key === 'k' || e.key === 'u' || e.key === 'w')) {
46 return true
47 }
48 if (e.meta && e.key === 'backspace') {
49 return true
50 }
51 return false
52}
53
54function isYankKey(e: KeyboardEvent): boolean {
55 return (e.ctrl || e.meta) && e.key === 'y'

Callers 1

handleKeyDownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected