MCPcopy
hub / github.com/claude-code-best/claude-code / recordYank

Function recordYank

src/utils/Cursor.ts:59–64  ·  view source on GitHub ↗
(start: number, length: number)

Source from the content-addressed store, hash-verified

57
58// Yank tracking for yank-pop
59export function recordYank(start: number, length: number): void {
60 lastYankStart = start
61 lastYankLength = length
62 lastActionWasYank = true
63 killRingIndex = 0
64}
65
66export function yankPop(): {
67 text: string

Callers 2

handleKeyDownFunction · 0.85
yankFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected