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 a620918 commit f35dc9fCopy full SHA for f35dc9f
src/detection/terminalShell.c
@@ -122,6 +122,13 @@ static void getTerminalFromEnv(FFTerminalShellResult* result)
122
if(!ffStrSet(term) && getenv("WT_SESSION") != NULL)
123
term = "Windows Terminal";
124
125
+ //Termux
126
+ if(!ffStrSet(term) && (
127
+ getenv("TERMUX_VERSION") != NULL ||
128
+ getenv("TERMUX_MAIN_PACKAGE_FORMAT") != NULL ||
129
+ getenv("TMUX_TMPDIR") != NULL
130
+ )) term = "Termux";
131
+
132
//Normal Terminal
133
if(!ffStrSet(term))
134
term = getenv("TERM");
0 commit comments