Browse Source

lib: support simple terminal in title function

Fixes #9295
Marc Cornellà 3 years ago
parent
commit
274df9dc29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/termsupport.zsh

+ 1 - 1
lib/termsupport.zsh

@@ -17,7 +17,7 @@ function title {
   : ${2=$1}
 
   case "$TERM" in
-    cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty)
+    cygwin|xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty|st*)
       print -Pn "\e]2;${2:q}\a" # set window name
       print -Pn "\e]1;${1:q}\a" # set tab name
       ;;