From 8c5072b480fe6a021c6377fbbd59309ef9706ee6 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 19 Sep 2016 22:30:17 +0200 Subject: [PATCH] fix review_bottom out of index -1 missing ;) --- src/fenrir-package/commands/commands/review_bottom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir-package/commands/commands/review_bottom.py b/src/fenrir-package/commands/commands/review_bottom.py index addfcaf8..30397333 100644 --- a/src/fenrir-package/commands/commands/review_bottom.py +++ b/src/fenrir-package/commands/commands/review_bottom.py @@ -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):