MCPcopy Index your code
hub / github.com/bombshell-dev/clack / completeBuffer

Function completeBuffer

packages/prompts/src/task-log.ts:175–183  ·  view source on GitHub ↗
(buffer: BufferEntry, result: BufferEntry['result'])

Source from the content-addressed store, hash-verified

173 }
174 };
175 const completeBuffer = (buffer: BufferEntry, result: BufferEntry['result']): void => {
176 clear(false);
177
178 buffer.result = result;
179
180 if (isTTY) {
181 printBuffers();
182 }
183 };
184
185 return {
186 message(msg: string, mopts?: TaskLogMessageOptions) {

Callers 2

errorFunction · 0.85
successFunction · 0.85

Calls 2

printBuffersFunction · 0.85
clearFunction · 0.70

Tested by

no test coverage detected