mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
parent
a971f6d933
commit
16aedae843
@ -355,7 +355,7 @@ static bool detectTerminalFontCommon(const FFTerminalShellResult* terminalShell,
|
||||
#ifndef _WIN32
|
||||
else if(ffStrbufStartsWithIgnCaseS(&terminalShell->terminalExe, "/dev/pts/"))
|
||||
ffStrbufAppendS(&terminalFont->error, "Terminal font detection is not supported on PTS");
|
||||
else if(ffStrbufIgnCaseEqualS(&terminalShell->terminalProcessName, "kitty"))
|
||||
else if(ffStrbufIgnCaseEqualS(&terminalShell->shellPrettyName, "kitty"))
|
||||
detectKitty(terminalFont);
|
||||
else if(ffStrbufStartsWithIgnCaseS(&terminalShell->terminalExe, "/dev/tty"))
|
||||
detectTTY(terminalFont);
|
||||
|
@ -369,6 +369,8 @@ const FFTerminalShellResult* ffDetectTerminalShell()
|
||||
ffStrbufInitStatic(&result.shellPrettyName, "nushell");
|
||||
else if(ffStrbufIgnCaseEqualS(&result.shellProcessName, "python") && getenv("XONSH_VERSION"))
|
||||
ffStrbufInitStatic(&result.shellPrettyName, "xonsh");
|
||||
else if(ffStrbufEqualS(&result.shellProcessName, ".kitty-wrapped"))
|
||||
ffStrbufInitStatic(&result.shellPrettyName, "kitty"); // #510
|
||||
else
|
||||
{
|
||||
// https://github.com/fastfetch-cli/fastfetch/discussions/280#discussioncomment-3831734
|
||||
|
Loading…
x
Reference in New Issue
Block a user