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

Function clear

packages/prompts/src/spinner.ts:202–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200 // don't erase that in `clearPrevMessage`. In future, we may want to treat
201 // `clear` as a special case and remove the bar too.
202 const clear = (): void => _stop('', 0, true);
203
204 const message = (msg = ''): void => {
205 _message = removeTrailingDots(msg ?? _message);

Callers

nothing calls this directly

Calls 1

_stopFunction · 0.85

Tested by

no test coverage detected