diff options
| author | troido <troido@hotmail.com> | 2017-11-13 14:09:16 +0100 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2017-11-13 14:09:16 +0100 |
| commit | f2bc01bae95fa66b9ebbb0d7f14f851ca4a2c7fb (patch) | |
| tree | d67d2da36cc607983323be7375d24b40349466eb /asciifarm/client/display/fieldpad.py | |
| parent | 8f614ac7812edf99e019bb318655f172d095f2f5 (diff) | |
fixed small terminal sizes
Diffstat (limited to 'asciifarm/client/display/fieldpad.py')
| -rw-r--r-- | asciifarm/client/display/fieldpad.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asciifarm/client/display/fieldpad.py b/asciifarm/client/display/fieldpad.py index 1966611..e9e3ee1 100644 --- a/asciifarm/client/display/fieldpad.py +++ b/asciifarm/client/display/fieldpad.py @@ -39,7 +39,7 @@ class FieldPad: return x // self.charSize * self.charSize def update(self, win, force=False): - if not self.changed and not force: + if not self.changed and not force or not win: return #self.lastView = (x, y, xmax, ymax) height, width = win.getmaxyx() |
