Better BSD support

This commit is contained in:
Linus Dierheimer
2022-09-20 11:16:08 +02:00
parent fd34811c81
commit b8fc471678
8 changed files with 67 additions and 40 deletions
+5
View File
@@ -137,6 +137,11 @@ static void getTerminalFromEnv(FFTerminalShellResult* result)
getenv("TMUX_TMPDIR") != NULL
)) term = "Termux";
//Konsole
if(!ffStrSet(term) && (
getenv("KONSOLE_VERSION") != NULL
)) term = "konsole";
//MacOS
if(!ffStrSet(term))
term = getenv("TERM_PROGRAM");