Fixed issue with colors bleeding off the bottom of the map

This commit is contained in:
Patrick Marsee 2019-02-18 12:46:09 -05:00
parent 2e16a345a8
commit 3dc9b3b2bb
2 changed files with 3 additions and 3 deletions

View file

@ -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':

View file

@ -119,7 +119,7 @@ class Shell(object):
return ret
def setClearColor(self):
print(clearColor())
print(self.clearColor())
return
def run(self):