mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-10 13:37:25 +01:00
TerminalShell: fix mintty detection (Windows)
This commit is contained in:
1 parent
051f6643a6
commit
947923567f
1 file changed
+3
@@ -242,6 +242,9 @@ static void getTerminalFromEnv(FFTerminalShellResult* result)
|
||||
getenv("ALACRITTY_WINDOW_ID") != nullptr
|
||||
)) term = "Alacritty";
|
||||
|
||||
if(!term)
|
||||
term = getenv("TERM_PROGRAM");
|
||||
|
||||
//Normal Terminal
|
||||
if(!term)
|
||||
term = getenv("TERM");
|
||||
|
||||
Reference in new issue
Block a user