term: Add support for Windows Terminal. Related to #1513

parent a4bf7210
......@@ -3122,6 +3122,7 @@ get_term() {
# Most likely TosWin2 on FreeMiNT - quick check
[[ "$TERM" == "tw52" || "$TERM" == "tw100" ]] && term="TosWin2"
[[ "$SSH_CONNECTION" ]] && term="$SSH_TTY"
[[ "$WT_SESSION" ]] && term="Windows Terminal"
# Check $PPID for terminal emulator.
while [[ -z "$term" ]]; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment