mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	fix(async): fix crash on zsh < 5.0.6 (#12358)
This commit is contained in:
		
							parent
							
								
									1b5503a3ee
								
							
						
					
					
						commit
						f78c6b90fc
					
				@ -124,7 +124,7 @@ function _omz_async_callback() {
 | 
			
		||||
 | 
			
		||||
    # Repaint prompt if output has changed
 | 
			
		||||
    if [[ "$old_output" != "${_OMZ_ASYNC_OUTPUT[$handler]}" ]]; then
 | 
			
		||||
      zle reset-prompt
 | 
			
		||||
      zle .reset-prompt
 | 
			
		||||
      zle -R
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user