Skip to content

Commit 0a807ac

Browse files
committed
TerminalFont (Linux): fixes default font size for ghostty
Fixes #1986
1 parent 4d831c8 commit 0a807ac

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/detection/terminalfont/terminalfont.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@ static void detectGhostty(const FFstrbuf* exe, FFTerminalFontResult* terminalFon
105105
}
106106

107107
if (fontSize.length == 0) {
108-
ffStrbufAppendS(&fontSize, "13");
108+
ffStrbufAppendS(&fontSize,
109+
#if __APPLE__
110+
"13"
111+
#else
112+
"12"
113+
#endif
114+
);
109115
FF_DEBUG("using default size='%s'", fontSize.chars);
110116
}
111117

0 commit comments

Comments
 (0)