summaryrefslogtreecommitdiff
path: root/lib/termsupport.zsh
diff options
context:
space:
mode:
authorstefan <mstfn@users.noreply.github.com>2024-05-02 15:11:18 +0200
committerGitHub <noreply@github.com>2024-05-02 15:11:18 +0200
commit529f77a344de5fd53ea2235547cefd5d15d02723 (patch)
treed41bd4383f5fee436714ce89a06d1813d568a298 /lib/termsupport.zsh
parent8581ecd462ab2714936398c54433ed1deddb2926 (diff)
downloadzsh-529f77a344de5fd53ea2235547cefd5d15d02723.tar.gz
zsh-529f77a344de5fd53ea2235547cefd5d15d02723.tar.bz2
zsh-529f77a344de5fd53ea2235547cefd5d15d02723.zip
feat(termsupport): support `alacritty*` TERM (#12392)
Closes #12391
Diffstat (limited to 'lib/termsupport.zsh')
-rw-r--r--lib/termsupport.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
index d170ffcbf..087bae9bb 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|st*|foot*|contour*)
+ 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
;;
@@ -129,7 +129,7 @@ fi
# Don't define the function if we're in an unsupported terminal
case "$TERM" in
# all of these either process OSC 7 correctly or ignore entirely
- xterm*|putty*|rxvt*|konsole*|mlterm*|alacritty|screen*|tmux*) ;;
+ xterm*|putty*|rxvt*|konsole*|mlterm*|alacritty*|screen*|tmux*) ;;
contour*|foot*) ;;
*)
# Terminal.app and iTerm2 process OSC 7 correctly