881c8b78d3e3ade9bccfddb3e616842807d07a59

Author
tobii-dev <77458451+tobii-dev@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(termsupport): add WezTerm support (#13121)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>

Diff

 1diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
 2index d2fbf42cd67943df9ac25a93be1ad4693b89231d..994c9c3220b53db02078a19deabb3dc56e3cc131 100644
 3--- a/lib/termsupport.zsh
 4+++ b/lib/termsupport.zsh
 5@@ -17,7 +17,7 @@ function title {
 6   : ${2=$1}
 7 
 8   case "$TERM" in
 9-    cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty*|st*|foot*|contour*)
10+    cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty*|st*|foot*|contour*|wezterm*)
11       print -Pn "\e]2;${2:q}\a" # set window name
12       print -Pn "\e]1;${1:q}\a" # set tab name
13       ;;