Skip to content

Customization

Secondary Terminal exposes more than 90 settings, so you can tune the terminal to match your editor, your accessibility needs, and the density of your workflow. The most important areas are typography, cursor behavior, spacing, theme control, ANSI rendering, contrast, active terminal borders, and the webview header UI.

Main Customization Areas

AreaExamples
FontFamily, size, weight, bold weight
CursorStyle, blink, width
SpacingLine height, letter spacing, scrollback
ThemeAuto, dark, light
ANSI renderingBright bold colors, full ANSI support
Accessibility visualsMinimum contrast ratio
Focus indicatorsActive terminal border mode
Header UIShow or hide header, title text, icon sizes

Typography

SettingDefaultDescription
secondaryTerminal.fontFamily"monospace"Terminal font family.
secondaryTerminal.fontSize12Font size in pixels.
secondaryTerminal.fontWeight"normal"Font weight for standard text.
secondaryTerminal.fontWeightBold"bold"Font weight for bold text.
secondaryTerminal.lineHeight1Line-height multiplier.
secondaryTerminal.letterSpacing0Extra pixels between characters.

Cursor and Input Appearance

SettingDefaultDescription
secondaryTerminal.cursorStyle"block"Cursor shape: block, underline, or bar.
secondaryTerminal.cursorBlinktrueEnables cursor blinking.
secondaryTerminal.cursorWidth1Width used when cursor style is bar.
secondaryTerminal.features.vscodeStandardCursortrueUses VS Code-like cursor behavior.

Theme and Color Controls

SettingDefaultDescription
secondaryTerminal.theme"auto"Follows VS Code or forces dark/light.
secondaryTerminal.drawBoldTextInBrightColorstrueUses bright ANSI variants for bold text.
secondaryTerminal.minimumContrastRatio1Adjusts foreground cells to meet a target ratio.
secondaryTerminal.features.fullANSISupporttrueEnables richer ANSI color and formatting support.

The minimumContrastRatio setting is important if you want stricter accessibility or use a low-contrast editor theme. A value of 4.5 targets WCAG AA minimum contrast.

Border and Header UI

SettingDefaultDescription
secondaryTerminal.activeBorderMode"multipleOnly"Controls when the active terminal border is shown.
secondaryTerminal.showWebViewHeadertrueShows or hides the webview header.
secondaryTerminal.webViewTitle"Terminal"Custom title text in the header.
secondaryTerminal.headerFontSize14Header title font size.
secondaryTerminal.headerIconSize20Terminal icon size in the header.
secondaryTerminal.showSampleIconstrueShows extra sample icons in the header.
secondaryTerminal.sampleIconSize16Size of sample icons.
secondaryTerminal.sampleIconOpacity0.4Opacity for sample icons.

Scrollback and Density

SettingDefaultDescription
secondaryTerminal.scrollback2000In-memory terminal scrollback size.
secondaryTerminal.persistentSessionScrollback1000Restored saved scrollback lines.
secondaryTerminal.maxSplitTerminals10Max visible terminals in split view.
secondaryTerminal.minTerminalHeight100Minimum split terminal height.

Example Theme Configuration

json
{
  "secondaryTerminal.fontFamily": "JetBrains Mono",
  "secondaryTerminal.fontSize": 13,
  "secondaryTerminal.cursorStyle": "bar",
  "secondaryTerminal.cursorWidth": 2,
  "secondaryTerminal.theme": "auto",
  "secondaryTerminal.minimumContrastRatio": 4.5,
  "secondaryTerminal.activeBorderMode": "always",
  "secondaryTerminal.showWebViewHeader": true,
  "secondaryTerminal.webViewTitle": "Workspace Terminal"
}

Suggested Starting Points

GoalSuggested changes
Match the editorKeep theme on auto and use the same font family.
Improve readabilityRaise fontSize, lineHeight, and minimumContrastRatio.
Fit more contentLower fontSize slightly and keep lineHeight near 1.
Highlight the active terminalSet activeBorderMode to "always".

Released under the MIT License.