diff --git a/src/cli.rs b/src/cli.rs index 43308923d..df9194698 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -302,6 +302,8 @@ pub fn is_truecolor_terminal() -> bool { env::var("COLORTERM") .map(|colorterm| colorterm == "truecolor" || colorterm == "24bit") .unwrap_or(false) + // Windows Terminal + || env::var("WT_SESSION").is_ok() } pub fn get_git_version() -> String {