code: public TerminalEmulatorDeviceConfiguration withLineBufferScrollbackSize(int lineBufferScrollbackSize) {
          if(this.lineBufferScrollbackSize == lineBufferScrollbackSize) {
              return this;
          } else {
              return new TerminalEmulatorDeviceConfiguration(
                      lineBufferScrollbackSize,
                      this.blinkLengthInMilliSeconds,
                      this.cursorStyle,
                      this.cursorColor,
                      this.cursorBlinking,
                      this.clipboardAvailable);
          }
      }
docs: Copies the current configuration. The new object has the given value.
  @param lineBufferScrollbackSize How many lines of scrollback buffer should the terminal save?
  @return  A copy of the current configuration with the changed value.