(write)
| 506 | // If we are currently rendering the spinner we clear it before writing our line and then re-render the spinner after. |
| 507 | // If not then all we need to do is write the line. |
| 508 | write (write) { |
| 509 | if (this.#spinning) { |
| 510 | this.#clearSpinner() |
| 511 | } |
| 512 | write() |
| 513 | if (this.#spinning) { |
| 514 | this.#render() |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | #render (resuming) { |
| 519 | if (!this.#rendering) { |
no test coverage detected