Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
hideCursor(): this {
console.warn('Console#hideCursor is deprecated. Use Reporter#hideCursor instead.');
this.out(cursor.hide);
return this;
}
hideCursor(): this {
this.console.out(cursor.hide);
if (!restoreCursorOnExit) {
restoreCursorOnExit = true;
process.on('exit', () => {
process.stdout.write(cursor.show);
});
}
return this;
}