lib/tty.js
function () {
    if (!this.cursorPos) {
      return this
    }
    var line = this.rl._prompt + this.rl.line
    readline.moveCursor(this.rl.output, -line.length, 0)
    readline.moveCursor(this.rl.output, this.cursorPos.cols, 0)
    this.cursorPos = null
    return this
  }
function () {
    if (!this.cursorPos) {
      return this
    }
    var line = this.rl._prompt + this.rl.line
    readline.moveCursor(this.rl.output, -line.length, 0)
    readline.moveCursor(this.rl.output, this.cursorPos.cols, 0)
    this.cursorPos = null
    return this
  }
function ( ) { if ( ! this . cursorPos ) { return this } var line = this . rl . _prompt + this . rl . line readline . moveCursor ( this . rl . output , - line . length , 0 ) readline . moveCursor ( this . rl . output , this . cursorPos . cols , 0 ) this . cursorPos = null return this }
Restore the cursor position to where it has been previously stored.
@return {Object} Self.
Restore the cursor position to where it has been previously stored .