mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	fix(termsupport): match all foot-like terminfo (#11868)
				
					
				
			This commit is contained in:
		
							parent
							
								
									2ef7c73cc8
								
							
						
					
					
						commit
						ccce2e1cfd
					
				@ -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
 | 
			
		||||
      ;;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user