File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
src/detection/terminalfont Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -58,18 +58,14 @@ static void detectGhostty(FFTerminalFontResult* terminalFont)
5858 {"font-size =" , & fontSize },
5959 };
6060
61- if (
62- #if __APPLE__
63- !ffParsePropFileConfigValues ("com.mitchellh.ghostty/config" , 2 , fontQueryToml ) &&
64- #endif
65- !ffParsePropFileConfigValues ("ghostty/config" , 2 , fontQueryToml )
66- ) {
67- ffStrbufAppendS (& terminalFont -> error , "Couldn't find file `ghostty/config`" );
68- return ;
69- }
61+ #if __APPLE__
62+ ffParsePropFileConfigValues ("com.mitchellh.ghostty/config" , 2 , fontQueryToml );
63+ #endif
64+
65+ ffParsePropFileConfigValues ("ghostty/config" , 2 , fontQueryToml );
7066
7167 if (fontName .length == 0 )
72- ffStrbufAppendS (& fontName , "JetBrains Mono " );
68+ ffStrbufAppendS (& fontName , "JetBrainsMono Nerd Font " );
7369
7470 if (fontSize .length == 0 )
7571 ffStrbufAppendS (& fontSize , "13" );
You can’t perform that action at this time.
0 commit comments