fix: use DEFAULT_FONT_VALUE for initial terminal font

The initial terminalState.fontFamily was set to a raw font string
that didn't match any option in TERMINAL_FONT_OPTIONS, causing the
dropdown to appear empty. Changed to use DEFAULT_FONT_VALUE sentinel.
This commit is contained in:
Stefan de Vogelaere
2026-01-17 19:32:42 +01:00
parent ded5ecf4e9
commit aef479218d

View File

@@ -1440,7 +1440,7 @@ const initialState: AppState = {
defaultFontSize: 14,
defaultRunScript: '',
screenReaderMode: false,
fontFamily: "Menlo, Monaco, 'Courier New', monospace",
fontFamily: DEFAULT_FONT_VALUE,
scrollbackLines: 5000,
lineHeight: 1.0,
maxSessions: 100,