summaryrefslogtreecommitdiff
path: root/asciifarm/client
diff options
context:
space:
mode:
Diffstat (limited to 'asciifarm/client')
-rw-r--r--asciifarm/client/display/fieldpad.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/asciifarm/client/display/fieldpad.py b/asciifarm/client/display/fieldpad.py
index cb20285..a7c5c45 100644
--- a/asciifarm/client/display/fieldpad.py
+++ b/asciifarm/client/display/fieldpad.py
@@ -19,7 +19,10 @@ class FieldPad:
def resize(self, width, height):
self.size = (width, height)
- self.pad.resize(height+1, width*self.charSize+1)
+ self.pad.resize(height+1, width*self.charSize)
+ if self.win:
+ self.win.erase()
+ self.win.noutrefresh()
def changeCell(self, x, y, char, colour=None, bgcolour=0):
if colour != None and self.colours: