We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3f762 commit 9176797Copy full SHA for 9176797
src/detection/terminalShell.c
@@ -120,8 +120,10 @@ static void getTerminalFromEnv(FFTerminalShellResult* result)
120
term = getenv("SSH_TTY");
121
122
//Windows Terminal
123
- if(!ffStrSet(term) && getenv("WT_SESSION") != NULL)
124
- term = "Windows Terminal";
+ if(!ffStrSet(term) && (
+ getenv("WT_SESSION") != NULL ||
125
+ getenv("WT_PROFILE_ID") != NULL
126
+ )) term = "Windows Terminal";
127
128
//Termux
129
if(!ffStrSet(term) && (
0 commit comments