code: function LineCountStream(outStream) {
    // Checks if the outStream is already a LineCountStream. If so, return it
    if (outStream instanceof LineCountStream)
      return outStream
  
    // Make sure this is a new instance
    if (!(this instanceof LineCountStream))
      return new LineCountStream(outStream)
  
    // Call super constructor
    PassThrough.call(this)
  
    // Save outStream
    this._outStream = outStream
  
    // Initialize line and logs (line starts as 1)
    this._line = 1
    this._logs = 0
  
    // Flag indicating a change is being made not with current cursor
    this._editing = false
  
    // Pipe this data to output stream
    outStream && this.pipe(outStream)
  }
docs: /*
  This is a PassThrough stream that keep track of how many lines have been logged.
  
  TODO: Account for terminal size changes/wrapping