summaryrefslogtreecommitdiff
path: root/asciifarm/client/display/messagepad.py
diff options
context:
space:
mode:
Diffstat (limited to 'asciifarm/client/display/messagepad.py')
-rw-r--r--asciifarm/client/display/messagepad.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/asciifarm/client/display/messagepad.py b/asciifarm/client/display/messagepad.py
index ab3afab..7d22f2f 100644
--- a/asciifarm/client/display/messagepad.py
+++ b/asciifarm/client/display/messagepad.py
@@ -18,8 +18,8 @@ class MessagePad():
def getHeight(self):
return self.maxLines
- def update(self, screen, x, y, xmax, ymax):
- if not self.changed and (x, y, xmax, ymax) == self.lastView or xmax <= x or ymax <= y:
+ def update(self, screen, x, y, xmax, ymax, force=False):
+ if not self.changed and (x, y, xmax, ymax) == self.lastView or xmax <= x or ymax <= y and not force:
return
width = xmax - x
height = ymax - y # should equal self.getHeight()