Don't refresh pads with invalid coordinates. The window should be fully resizable, closes #20
This commit is contained in:
@ -40,5 +40,5 @@ class StatsDisplay(Display):
|
||||
def display(self) -> None:
|
||||
self.pad.clear()
|
||||
self.update_pad()
|
||||
self.pad.refresh(0, 0, self.y, self.x,
|
||||
self.refresh_pad(self.pad, 0, 0, self.y, self.x,
|
||||
self.y + self.height - 1, self.width + self.x - 1)
|
||||
|
Reference in New Issue
Block a user