2eb3e9d57cf69f3c2fa557f9047e0a648d80b235

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

lib: support konsole* $TERM in title function (#8035)

Diff

 1diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
 2index 654927a1ce1d4bafa745a86e360dc753ba6df3ea..3f71eb06a141d49a1ab5e6a861cc2cb8af88192f 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*|ansi)
10+    cygwin|xterm*|putty*|rxvt*|konsole*|ansi)
11       print -Pn "\e]2;$2:q\a" # set window name
12       print -Pn "\e]1;$1:q\a" # set tab name
13       ;;