How to use the @boost/terminal.cursor.to 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
resetCursor(): this {
    console.warn('Console#resetCursor is deprecated. Use Reporter#resetCursor instead.');

    this.out(cursor.to(0, screen.size().rows));

    return this;
  }
github milesj / boost / packages / core / src / Reporter.ts View on Github external
resetCursor(): this {
    this.console.out(cursor.to(0, this.size().rows));

    return this;
  }