How to use the console-control-strings.gotoSOL function in console-control-strings

To help you get started, we’ve selected a few console-control-strings 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 Andyliwr / FE-learning-load / task08 / lidikang / styles / node_modules / gauge / plumbing.js View on Github external
Plumbing.prototype.show = function (status) {
  var values = Object.create(this.theme)
  for (var key in status) {
    values[key] = status[key]
  }

  return renderTemplate(this.width, this.template, values).trim() +
         consoleControl.eraseLine() + consoleControl.gotoSOL()
}
github GoogleContainerTools / kpt / docsy / node_modules / fsevents / node_modules / gauge / plumbing.js View on Github external
Plumbing.prototype.show = function (status) {
  var values = Object.create(this.theme)
  for (var key in status) {
    values[key] = status[key]
  }

  return renderTemplate(this.width, this.template, values).trim() +
         consoleControl.color('reset') +
         consoleControl.eraseLine() + consoleControl.gotoSOL()
}
github npm / gauge / plumbing.js View on Github external
Plumbing.prototype.hide = function () {
  return consoleControl.gotoSOL() + consoleControl.eraseLine()
}

console-control-strings

A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.

ISC
Latest version published 8 years ago

Package Health Score

65 / 100
Full package analysis

Similar packages