Print the next expected piece for the spinner to stdout for CI usage.
(text?: string)
| 106 | |
| 107 | /** Print the next expected piece for the spinner to stdout for CI usage. */ |
| 108 | private printNextCIFrame(text?: string) { |
| 109 | if (text) { |
| 110 | process.stdout.write(`\n${text}.`); |
| 111 | return; |
| 112 | } |
| 113 | process.stdout.write('.'); |
| 114 | } |
| 115 | |
| 116 | /** Hide the cursor in the terminal, only executed in local environments. */ |
| 117 | private hideCursor() { |