summaryrefslogtreecommitdiff
path: root/asciifarm/client/display/fieldpad.py
diff options
context:
space:
mode:
Diffstat (limited to 'asciifarm/client/display/fieldpad.py')
-rw-r--r--asciifarm/client/display/fieldpad.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/asciifarm/client/display/fieldpad.py b/asciifarm/client/display/fieldpad.py
index e9e3ee1..1c749b6 100644
--- a/asciifarm/client/display/fieldpad.py
+++ b/asciifarm/client/display/fieldpad.py
@@ -13,7 +13,6 @@ class FieldPad:
self.center = (0, 0)
self.colours = colours
self.changed = False
- #self.lastView = None
def resize(self, width, height):
self.size = (width, height)
@@ -38,10 +37,9 @@ class FieldPad:
def _roundWidth(self, x):
return x // self.charSize * self.charSize
- def update(self, win, force=False):
+ def update(self, win, force):
if not self.changed and not force or not win:
return
- #self.lastView = (x, y, xmax, ymax)
height, width = win.getmaxyx()
y, x = win.getparyx()
xmax = x + width