File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/detection/terminalfont Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,18 @@ static void detectGhostty(FFTerminalFontResult* terminalFont)
5858 {"font-size =" , & fontSize },
5959 };
6060
61- if (!ffParsePropFileConfigValues ("ghostty/config" , 2 , fontQueryToml ))
62- {
61+ if (
62+ #if __APPLE__
63+ !ffParsePropFileConfigValues ("com.mitchellh.ghostty/config" , 2 , fontQueryToml ) &&
64+ #endif
65+ !ffParsePropFileConfigValues ("ghostty/config" , 2 , fontQueryToml )
66+ ) {
6367 ffStrbufAppendS (& terminalFont -> error , "Couldn't find file `ghostty/config`" );
6468 return ;
6569 }
6670
6771 if (fontName .length == 0 )
68- ffStrbufAppendS (& fontName , "monospace " );
72+ ffStrbufAppendS (& fontName , "JetBrains Mono " );
6973
7074 if (fontSize .length == 0 )
7175 ffStrbufAppendS (& fontSize , "13" );
You can’t perform that action at this time.
0 commit comments