chore(terminalshell_linux.c): Ignore cwterm as well as figterm

Since CodeWhisperer overrides the terminal environment.
This commit is contained in:
Souma
2023-12-31 18:35:57 +09:00
committed by Carter Li
parent bb489f9af3
commit cae4b1c657
@@ -181,7 +181,7 @@ static void getTerminalShell(FFTerminalShellResult* result, pid_t pid)
#ifdef __APPLE__
// https://github.com/fastfetch-cli/fastfetch/discussions/501
if (ffStrEndsWith(name, " (figterm)"))
if (ffStrEndsWith(name, " (figterm)") || ffStrEndsWith(name, " (cwterm)"))
getProcessNameAndPpid(ppid, name, &ppid);
#endif