How to use the @boost/terminal.cursor.show function in @boost/terminal

To help you get started, we’ve selected a few @boost/terminal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github milesj / boost / packages / core / src / Console.ts View on Github external
this.emit('error', [error]);
      this.onError.emit([error]);
    } else {
      if (this.logs.length > 0) {
        this.out(`\n${this.logs.join('\n')}\n`);
      }

      this.displayFooter();
    }

    // Flush any stream output that still exists
    this.flushBufferedStreams();

    // Show the cursor incase it has been hidden
    this.out(cursor.show);
  }
github milesj / boost / packages / core / src / Reporter.ts View on Github external
showCursor(): this {
    this.console.out(cursor.show);

    return this;
  }