copyWith method
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,
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,
);