mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-120041: Refactor check for visible completion menu in completing_reader (#120055)
This commit is contained in:
		
							parent
							
								
									e079935282
								
							
						
					
					
						commit
						bf8e5e53d0
					
				
					 2 changed files with 4 additions and 6 deletions
				
			
		|  | @ -365,12 +365,7 @@ def do(self) -> None: | |||
|         r = self.reader | ||||
|         text = self.event * r.get_arg() | ||||
|         r.insert(text) | ||||
|         if ( | ||||
|             len(text) == 1 and | ||||
|             r.pos == len(r.buffer) and | ||||
|             not r.cmpltn_menu_visible and  # type: ignore[attr-defined] | ||||
|             not r.cmpltn_message_visible  # type: ignore[attr-defined] | ||||
|         ): | ||||
|         if len(text) == 1 and r.pos == len(r.buffer): | ||||
|             r.calc_screen = r.append_to_screen | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lysandros Nikolaou
						Lysandros Nikolaou