TerminalConfig.defaults constructor
TerminalConfig.defaults()
Stock look-and-feel. Font family/fallback follow VS Code editor defaults per platform (see PlatformFontDefaults).
Implementation
factory TerminalConfig.defaults() => TerminalConfig(
colors: const TerminalColors(
background: 0x181818,
foreground: 0xD8D8D8,
selection: 0x3A6EA5,
ansi: [
0x000000, 0xCC0000, 0x4E9A06, 0xC4A000, 0x3465A4, 0x75507B, 0x06989A, 0xD3D7CF,
0x555753, 0xEF2929, 0x8AE234, 0xFCE94F, 0x729FCF, 0xAD7FA8, 0x34E2E2, 0xEEEEEC,
],
searchMatchBg: 0xAC4242,
searchMatchFg: 0x181818,
searchFocusedBg: 0xF4BF75,
searchFocusedFg: 0x181818,
hintStartFg: 0x181818,
hintStartBg: 0xF4BF75,
cursorText: null,
cursorBody: null,
),
font: FontConfig(
family: PlatformFontDefaults.primaryFamily,
fallback: PlatformFontDefaults.fallbackFamilies,
size: 14.0,
lineHeight: 1.2,
),
cursor: const CursorConfig(blinkInterval: 530),
scrolling: const ScrollConfig(history: 10000, multiplier: 3),
mouse: const MouseConfig(doubleClickThreshold: 300),
bell: const BellConfig(color: 0xFFFFFF, duration: 0, animation: 'linear'),
ime: const ImeConfig(preeditBg: 0x282828, preeditFg: 0xD8D8D8, underline: true),
shell: const ShellConfig(),
keyboard: const KeyboardConfig(),
window: const WindowConfig(),
selection: const SelectionConfig(
semanticEscapeChars: ',│`|:"\' ()[]{}<>\t',
),
terminal: const TerminalBehaviorConfig(),
);