diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-09-29 18:34:35 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-09-29 18:34:35 +0200 |
commit | 274df9dc2921deb0a773c4aee70a0c3d0542c31b (patch) | |
tree | 600266e78b2bbf2c25312813c532318afdae65e5 /lib/termsupport.zsh | |
parent | 2b59d052ef34b9290f7951ce08cebae189bd9dde (diff) | |
download | zsh-274df9dc2921deb0a773c4aee70a0c3d0542c31b.tar.gz zsh-274df9dc2921deb0a773c4aee70a0c3d0542c31b.tar.bz2 zsh-274df9dc2921deb0a773c4aee70a0c3d0542c31b.zip |
lib: support simple terminal in title function
Fixes #9295
Diffstat (limited to 'lib/termsupport.zsh')
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 1bab61b2a..8cb2389e2 100644 --- a/lib/termsupport.zsh +++ b/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 ;; |