diff --git a/index.js b/index.js index 6467688..093c758 100644 --- a/index.js +++ b/index.js @@ -72,7 +72,7 @@ class Ora { } clear() { - if (!this.enabled) { + if (!this.enabled || !this.stream.isTTY) { return this; }