mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-03 11:44:18 +01:00
Terminal (Windows): don't try to detect terminals in MSYS shell
May fix CI hanging
This commit is contained in:
@@ -289,6 +289,13 @@ conhost:
|
||||
|
||||
static uint32_t getTerminalInfo(FFTerminalResult* result, uint32_t pid)
|
||||
{
|
||||
if (getenv("MSYSTEM"))
|
||||
{
|
||||
// Don't try to detect terminals in MSYS shell
|
||||
// It won't work because MSYS doesn't follow process tree of native Windows programs
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t ppid = 0;
|
||||
bool hasGui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user