Update FakePad to fix tests
This commit is contained in:
		@@ -71,7 +71,8 @@ class Display:
 | 
			
		||||
        """
 | 
			
		||||
        top_y, top_x = max(0, top_y), max(0, top_x)
 | 
			
		||||
        window_y, window_x = max(0, window_y), max(0, window_x)
 | 
			
		||||
        screen_max_y, screen_max_x = self.screen.getmaxyx()
 | 
			
		||||
        screen_max_y, screen_max_x = self.screen.getmaxyx() if self.screen \
 | 
			
		||||
            else 42, 42
 | 
			
		||||
        last_y, last_x = min(screen_max_y - 1, last_y), \
 | 
			
		||||
            min(screen_max_x - 1, last_x)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user