mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
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:
@@ -1440,7 +1440,7 @@ const initialState: AppState = {
|
|||||||
defaultFontSize: 14,
|
defaultFontSize: 14,
|
||||||
defaultRunScript: '',
|
defaultRunScript: '',
|
||||||
screenReaderMode: false,
|
screenReaderMode: false,
|
||||||
fontFamily: "Menlo, Monaco, 'Courier New', monospace",
|
fontFamily: DEFAULT_FONT_VALUE,
|
||||||
scrollbackLines: 5000,
|
scrollbackLines: 5000,
|
||||||
lineHeight: 1.0,
|
lineHeight: 1.0,
|
||||||
maxSessions: 100,
|
maxSessions: 100,
|
||||||
|
|||||||
Reference in New Issue
Block a user