From b57926b64fa65eaf0a542c286affcab0c16faee7 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Wed, 18 Jan 2017 13:59:28 +0100 Subject: [PATCH] Add support for TERM=screen*-s This improve support for tmux (#3579) --- lib/termsupport.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 871ab28d..6a12e3cc 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -17,7 +17,7 @@ function title { : ${2=$1} case "$TERM" in - cygwin|xterm*|putty*|rxvt*|ansi) + cygwin|xterm*|putty*|rxvt*|ansi|screen*-s) print -Pn "\e]2;$2:q\a" # set window name print -Pn "\e]1;$1:q\a" # set tab name ;;