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

Function consumeEarlyInput

src/utils/earlyInput.ts:164–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162 * Automatically stops capturing when called.
163 */
164export function consumeEarlyInput(): string {
165 stopCapturingEarlyInput()
166 const input = earlyInputBuffer.trim()
167 earlyInputBuffer = ''
168 return input
169}
170
171/**
172 * Check if there is any early input available without consuming it.

Callers 1

REPLFunction · 0.85

Calls 1

stopCapturingEarlyInputFunction · 0.85

Tested by

no test coverage detected