Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
erasePrevious(): this {
if (this.previousHeight > 0) {
this.console.out(screen.eraseLines(this.previousHeight));
}
return this;
}