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)
58
58
{"font-size =" , & fontSize },
59
59
};
60
60
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
+ ) {
63
67
ffStrbufAppendS (& terminalFont -> error , "Couldn't find file `ghostty/config`" );
64
68
return ;
65
69
}
66
70
67
71
if (fontName .length == 0 )
68
- ffStrbufAppendS (& fontName , "monospace " );
72
+ ffStrbufAppendS (& fontName , "JetBrains Mono " );
69
73
70
74
if (fontSize .length == 0 )
71
75
ffStrbufAppendS (& fontSize , "13" );
You can’t perform that action at this time.
0 commit comments