Width and height are managed dynamically: we can almost freely resize the window
This commit is contained in:
		@@ -106,5 +106,5 @@ class TestGame(unittest.TestCase):
 | 
			
		||||
 | 
			
		||||
    def test_stats_display(self) -> None:
 | 
			
		||||
        self.game.current_display = StatsDisplay(None, self.game.player,
 | 
			
		||||
                                                 42, 42, 0, 0)
 | 
			
		||||
                                                 42, 42)
 | 
			
		||||
        self.game.current_display.refresh()
 | 
			
		||||
 
 | 
			
		||||
@@ -12,3 +12,6 @@ class FakePad:
 | 
			
		||||
 | 
			
		||||
    def clear(self) -> None:
 | 
			
		||||
        pass
 | 
			
		||||
 | 
			
		||||
    def resize(self, height: int, width: int) -> None:
 | 
			
		||||
        pass
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user