lib: support mlterm-256color

Co-authored-by: Peter J. Schroeder <peterjschroeder@gmail.com>
This commit is contained in:
Marc Cornellà 2020-07-23 12:55:22 +02:00
parent db3d05fe71
commit 9521837240

View File

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