diff options
Diffstat (limited to 'asciifarm/client/display/screen.py')
| -rw-r--r-- | asciifarm/client/display/screen.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/asciifarm/client/display/screen.py b/asciifarm/client/display/screen.py index 438e818..666d3bc 100644 --- a/asciifarm/client/display/screen.py +++ b/asciifarm/client/display/screen.py @@ -50,6 +50,8 @@ class Screen: infoY = listY + listH infoH = self._limitHeight(20, infoY) + lists = self.makeWin(sideX, listY, sideW, listH) + self.windows = { "field": self.makeWin(0, 0, sideX - 1, msgY), "msg": self.makeWin(0, msgY, sideX - 1, msgH), @@ -57,9 +59,9 @@ class Screen: "health": self.makeWin(sideX, healthY, sideW, healthH), "switch": self.makeWin(sideX, indexY, sideW, indexH), - "ground": self.makeWin(sideX, listY, sideW, listH), - "inventory": self.makeWin(sideX, listY, sideW, listH), - "equipment": self.makeWin(sideX, listY, sideW, listH), + "ground": lists, + "inventory": lists, + "equipment": lists, "info": self.makeWin(sideX, infoY, sideW, infoH) } |
