mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 20:34:57 +00:00
term: Add support for Windows Terminal. Related to #1513
This commit is contained in:
1
neofetch
1
neofetch
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user