fix review_bottom out of index -1 missing ;)

This commit is contained in:
chrys 2016-09-19 22:30:17 +02:00
parent e2471096b8
commit 8c5072b480

View File

@ -17,7 +17,7 @@ class command():
return 'move review to bottom of screen'
def run(self, environment):
environment['screenData']['newCursorReview'] = { 'x': 0, 'y':environment['screenData']['lines']}
environment['screenData']['newCursorReview'] = { 'x': 0, 'y':environment['screenData']['lines'] -1}
environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True)
def setCallback(self, callback):