node_modules/truffle/build/83.bundled.js
/**
   * Helper for writing message in Prompt
   * @param {BottomBar} prompt  - The Prompt object that extends tty
   * @param {String} message - The message to be output
   */
Helper for writing message in Prompt
@param {BottomBar} prompt  - The Prompt object that extends tty
@param {String} message - The message to be output
Helper for writing message in Prompt @param { BottomBar } prompt - The Prompt object that extends tty @param { String } message - The message to be output
write(message) {
    var msgLines = message.split(/\n/);
    this.height = msgLines.length;
    this.rl.setPrompt(_.last(msgLines));
    if (this.rl.output.rows === 0 && this.rl.output.columns === 0) {
      rlUtils.left(this.rl, message.length + this.rl.line.length);
    }
    this.rl.output.write(message);
  }
write ( message ) { var msgLines = message . split ( / \n / ) ; this . height = msgLines . length ; this . rl . setPrompt ( _ . last ( msgLines ) ) ; if ( this . rl . output . rows === 0 && this . rl . output . columns === 0 ) { rlUtils . left ( this . rl , message . length + this . rl . line . length ) ; } this . rl . output . write ( message ) ; }
Helper for writing message in Prompt
 @param {BottomBar} prompt  - The Prompt object that extends tty
 @param {String} message - The message to be output
Helper for writing message in Prompt @param { BottomBar } prompt - The Prompt object that extends tty @param { String } message - The message to be output
// Write message to screen and setPrompt to control backspace /* When it's a tty through serial port there's no terminal info and the render will malfunction,
         so we need enforce the cursor to locate to the leftmost position for rendering. */