How to use the readline.moveCursor function in readline

To help you get started, we’ve selected a few readline 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 Siteimprove / alfa / scripts / helpers / notify.js View on Github external
function replace() {
  readline.moveCursor(stream, 0, -1);
  readline.clearLine(stream, 0);
  readline.cursorTo(stream, 0, 0);
}

readline

Simple streaming readline module.

BSD
Latest version published 9 years ago

Package Health Score

62 / 100
Full package analysis