MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / killToLineEnd

Function killToLineEnd

src/hooks/useTextInput.ts:181–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 }
180
181 function killToLineEnd(): Cursor {
182 const { cursor: newCursor, killed } = cursor.deleteToLineEnd()
183 pushToKillRing(killed, 'append')
184 return newCursor
185 }
186
187 function killToLineStart(): Cursor {
188 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