MCPcopy
hub / github.com/bombshell-dev/clack / clear

Method clear

packages/core/src/prompts/password.ts:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 return `${s1}${styleText('inverse', s2[0])}${s2.slice(1)}`;
27 }
28 clear() {
29 this._clearUserInput();
30 }
31 constructor({ mask, ...opts }: PasswordOptions) {
32 super(opts);
33 this._mask = mask ?? '•';

Callers

nothing calls this directly

Calls 1

_clearUserInputMethod · 0.80

Tested by

no test coverage detected