From b19d2b3caca6f7cb530d45d3ce9e7496e3443176 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 25 Jul 2020 08:35:21 +0300 Subject: [PATCH] term: Add support for Windows Terminal. Related to #1513 --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index b72a55d2..200ea0bb 100755 --- a/neofetch +++ b/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