mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
TerminalShell: fix mintty detection (Windows)
This commit is contained in:
@@ -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