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

Function killToLineStart

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

Source from the content-addressed store, hash-verified

186 }
187
188 function killToLineStart(): Cursor {
189 const { cursor: newCursor, killed } = cursor.deleteToLineStart()
190 pushToKillRing(killed, 'prepend')
191 return newCursor
192 }
193
194 function killWordBefore(): Cursor {
195 const { cursor: newCursor, killed } = cursor.deleteWordBefore()

Callers

nothing calls this directly

Calls 2

pushToKillRingFunction · 0.85
deleteToLineStartMethod · 0.80

Tested by

no test coverage detected