李通洲
9dab23b5fc
TerminalShell: code refactor
2023-01-11 16:45:34 +08:00
李通洲
09ff8d35bc
TerminalShell: support xfce4-terminal version detection
2023-01-11 16:07:34 +08:00
李通洲
ee903d2d07
TerminalShell: support konsole version detection
2023-01-11 15:56:24 +08:00
李通洲
b2f978aa7c
TerminalShell: support kitty version detection
2023-01-11 15:14:29 +08:00
李通洲
76d957a144
TerminalShell: support gnome-terminal version detection
2023-01-11 15:12:32 +08:00
李通洲
a0acfeed56
TermiinalShell: code refactor
2023-01-11 15:03:16 +08:00
李通洲
b1f63ab822
Global: rename FF_UNUSED_PARAM to FF_MAYBE_UNUSED since it can be used on functions too.
2023-01-11 14:47:10 +08:00
李通洲
db17f95ce8
TerminalShell: detect Termux version
2023-01-10 21:11:44 +08:00
李通洲
ef2a5110fe
TerminalShell: detect terminal version when available
2023-01-10 19:26:33 +08:00
李通洲
2ee5b3b7a5
TerminalShell: add support for tcsh
...
which is the default shell for freebsd
2022-10-27 16:45:59 +08:00
李通洲
76684e49ca
TerminalShell: speed up PowerShell version detection by querying the version of pwsh.exe file
...
Also add cmd version detection
2022-10-15 22:45:30 +08:00
李通洲
437431a821
TerminalShell: support Windows PowerShell version detection
2022-10-15 21:44:28 +08:00
李通洲
4f0dd51761
TerminalShell: fix bash version detection on Windows
...
Currently we use `env -i /path/to/bash --norc --noprofile -c printf "%s" "$BASH_VERSION"` to detect bash version.
This is problematic on Windows because there is no `env` in $PATH ( there is env in $PATH of msys2 but not in $PATH of Windows )
With this modification the detection is also faster because 1 process is created only
2022-10-14 22:58:56 +08:00
李通洲
11ad7a8a3d
TerminalShell: unify shell version detection code
2022-10-14 18:33:11 +08:00