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

Function killToLineEnd

source code/hooks/useTextInput.ts:182–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 }
181
182 function killToLineEnd(): Cursor {
183 const { cursor: newCursor, killed } = cursor.deleteToLineEnd()
184 pushToKillRing(killed, 'append')
185 return newCursor
186 }
187
188 function killToLineStart(): Cursor {
189 const { cursor: newCursor, killed } = cursor.deleteToLineStart()

Callers

nothing calls this directly

Calls 2

pushToKillRingFunction · 0.85
deleteToLineEndMethod · 0.80

Tested by

no test coverage detected