MCPcopy
hub / github.com/codeaashu/claude-code / killToLineEnd

Function killToLineEnd

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

Source from the content-addressed store, hash-verified

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