1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

feat(termsupport): add contour terminal (#11599)

Signed-off-by: Christian Parpart <christian@parpart.family>
This commit is contained in:
Christian Parpart
2023-04-04 16:47:13 +02:00
committed by GitHub
parent 9233ef75f2
commit 8d23fbd696

View File

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