copyWith method

TerminalConfig copyWith({
  1. TerminalColors? colors,
  2. FontConfig? font,
  3. CursorConfig? cursor,
  4. ScrollConfig? scrolling,
  5. MouseConfig? mouse,
  6. BellConfig? bell,
  7. ImeConfig? ime,
  8. ShellConfig? shell,
  9. KeyboardConfig? keyboard,
  10. WindowConfig? window,
  11. SelectionConfig? selection,
  12. TerminalBehaviorConfig? terminal,
})

Implementation

TerminalConfig copyWith({
  TerminalColors? colors,
  FontConfig? font,
  CursorConfig? cursor,
  ScrollConfig? scrolling,
  MouseConfig? mouse,
  BellConfig? bell,
  ImeConfig? ime,
  ShellConfig? shell,
  KeyboardConfig? keyboard,
  WindowConfig? window,
  SelectionConfig? selection,
  TerminalBehaviorConfig? terminal,
}) =>
    TerminalConfig(
      colors: colors ?? this.colors,
      font: font ?? this.font,
      cursor: cursor ?? this.cursor,
      scrolling: scrolling ?? this.scrolling,
      mouse: mouse ?? this.mouse,
      bell: bell ?? this.bell,
      ime: ime ?? this.ime,
      shell: shell ?? this.shell,
      keyboard: keyboard ?? this.keyboard,
      window: window ?? this.window,
      selection: selection ?? this.selection,
      terminal: terminal ?? this.terminal,
    );