MCPcopy Create free account
hub / github.com/angular/dev-infra / hideCursor

Method hideCursor

ng-dev/utils/spinner.ts:117–121  ·  view source on GitHub ↗

Hide the cursor in the terminal, only executed in local environments.

()

Source from the content-addressed store, hash-verified

115
116 /** Hide the cursor in the terminal, only executed in local environments. */
117 private hideCursor() {
118 if (!IS_CI) {
119 process.stdout.write(hideCursor);
120 }
121 }
122
123 /** Resume showing the cursor in the terminal, only executed in local environments. */
124 private showCursor() {

Callers 1

constructorMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected