()
| 200 | // don't erase that in `clearPrevMessage`. In future, we may want to treat |
| 201 | // `clear` as a special case and remove the bar too. |
| 202 | const clear = (): void => _stop('', 0, true); |
| 203 | |
| 204 | const message = (msg = ''): void => { |
| 205 | _message = removeTrailingDots(msg ?? _message); |