Erase pads instead of clearing them, fixes #21

This commit is contained in:
Yohann D'ANELLO
2020-11-26 22:20:14 +01:00
parent 3e7dabc94e
commit 1e48bd16b3
5 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ class StatsDisplay(Display):
| self.color_pair(3))
def display(self) -> None:
self.pad.clear()
self.pad.erase()
self.update_pad()
self.refresh_pad(self.pad, 0, 0, self.y, self.x,
self.y + self.height - 1, self.width + self.x - 1)