|  |  |  | @ -20,7 +20,9 @@ from .compat import is_python_version | 
		
	
		
			
				|  |  |  |  | def gettermsize(): | 
		
	
		
			
				|  |  |  |  |     def ioctl_GWINSZ(fd): | 
		
	
		
			
				|  |  |  |  |         try: | 
		
	
		
			
				|  |  |  |  |             import fcntl, termios, struct  # noqa | 
		
	
		
			
				|  |  |  |  |             import fcntl | 
		
	
		
			
				|  |  |  |  |             import struct | 
		
	
		
			
				|  |  |  |  |             import termios | 
		
	
		
			
				|  |  |  |  |             cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234')) | 
		
	
		
			
				|  |  |  |  |         except: | 
		
	
		
			
				|  |  |  |  |             return None | 
		
	
	
		
			
				
					|  |  |  | 
 |