diff --git a/gameshell.py b/gameshell.py index d9dad2a..4dc78b2 100644 --- a/gameshell.py +++ b/gameshell.py @@ -163,8 +163,8 @@ If -l is given, a map legend will be printed under the map.""" rows[-1] = ''.join(rows[-1]) print(xAxis) - print('{0}\n'.format(self.clearColor()).join(rows) + self.clearColor()) - self.clearColor() + print('{0}\n'.format(self.clearColor(False)).join(rows) + self.clearColor()) + self.setClearColor() if len(args) > 0: if args[0] == '-l' or args[0] == 'l' or args[0] == 'legend': diff --git a/shell.py b/shell.py index 2f893c5..8a683da 100644 --- a/shell.py +++ b/shell.py @@ -119,7 +119,7 @@ class Shell(object): return ret def setClearColor(self): - print(clearColor()) + print(self.clearColor()) return def run(self):