[PR] #272 from Un1q32: Add "Apple Terminal"

Add `Apple_Terminal` to list of special cases in get_term()
This commit is contained in:
Azalea
2024-05-16 01:51:00 +08:00
committed by GitHub
+4 -4
View File
@@ -4547,10 +4547,10 @@ get_term() {
# Workaround for macOS systems that
# don't support the block below.
case $TERM_PROGRAM in
"iTerm.app") term="iTerm2" ;;
"Terminal.app") term="Apple Terminal" ;;
"Hyper") term="HyperTerm" ;;
*) term="${TERM_PROGRAM/\.app}" ;;
"iTerm.app") term="iTerm2" ;;
"Terminal.app"|"Apple_Terminal") term="Apple Terminal" ;;
"Hyper") term="HyperTerm" ;;
*) term="${TERM_PROGRAM/\.app}" ;;
esac
# Most likely TosWin2 on FreeMiNT - quick check