TerminalShell (Linux): try supporting blackbox

Fix #707
This commit is contained in:
李通洲 committed 2024-02-01 09:02:49 +08:00
1 parent 60ed822f6a
commit 128c3bfea6
2 files changed
+18

No files matched your search

@@ -285,6 +285,7 @@ static pid_t getTerminalInfo(FFTerminalResult* result, pid_t pid)
ffStrEquals(name, "xonsh") || // works in Linux but not in macOS because kernel returns `Python` in this case
ffStrEquals(name, "login") ||
ffStrEquals(name, "sshd") ||
ffStrEquals(name, "flatpak-session-helper") || // #707
ffStrEndsWith(name, ".sh")
)
{