MCPcopy Create free account
hub / github.com/echoVic/blade-code / stop

Method stop

src/ui/components/Animation.ts:107–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 };
106
107 const stop = () => {
108 if (timer) {
109 clearInterval(timer);
110 timer = null;
111 process.stdout.write('\r');
112 process.stdout.write(' '.repeat(process.stdout.columns || 80));
113 process.stdout.write('\r');
114 console.log(text);
115 }
116 };
117
118 return { start, stop };
119 }

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected