mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	[ruby/reline] Autocompletion ignites when target char length is 3 or longer
261830fda3
			
			
This commit is contained in:
		
							parent
							
								
									a95262356e
								
							
						
					
					
						commit
						8c067f182e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -195,7 +195,7 @@ module Reline
 | 
			
		|||
        return nil
 | 
			
		||||
      end
 | 
			
		||||
      pre, target, post = retrieve_completion_block(true)
 | 
			
		||||
      if target.nil? or target.empty?# or target.size <= 3
 | 
			
		||||
      if target.nil? or target.empty? or target.size <= 3
 | 
			
		||||
        return nil
 | 
			
		||||
      end
 | 
			
		||||
      if completion_journey_data and completion_journey_data.list
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue