mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	gh-128330: Terminal control characters should be restored on repl exit (#128331)
This commit is contained in:
		
							parent
							
								
									ec91e1c276
								
							
						
					
					
						commit
						0b15d9c0d2
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		|  | @ -40,7 +40,9 @@ def as_list(self): | |||
|             self.lflag, | ||||
|             self.ispeed, | ||||
|             self.ospeed, | ||||
|             self.cc, | ||||
|             # Always return a copy of the control characters list to ensure | ||||
|             # there are not any additional references to self.cc | ||||
|             self.cc[:], | ||||
|         ] | ||||
| 
 | ||||
|     def copy(self): | ||||
|  |  | |||
|  | @ -0,0 +1 @@ | |||
| Restore terminal control characters on REPL exit. | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andy Fiddaman
						Andy Fiddaman