TerminalFont: detect .kitty-wrapped as kitty

Fixes #510
This commit is contained in:
李通洲 committed 2023-08-05 20:33:45 +08:00
1 parent a971f6d933
commit 16aedae843
2 files changed
+3 -1

No files matched your search

@@ -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