From cb4e97b6310f1bcdb17e9dd53fd4db1eaa4ab573 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Mon, 29 Aug 2016 17:16:31 +0200 Subject: [PATCH] Update and rename top_left.py to review_top.py --- .../commands/commands/{top_left.py => review_top.py} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename src/fenrir-package/commands/commands/{top_left.py => review_top.py} (57%) diff --git a/src/fenrir-package/commands/commands/top_left.py b/src/fenrir-package/commands/commands/review_top.py similarity index 57% rename from src/fenrir-package/commands/commands/top_left.py rename to src/fenrir-package/commands/commands/review_top.py index 728cdaa6..187f8843 100644 --- a/src/fenrir-package/commands/commands/top_left.py +++ b/src/fenrir-package/commands/commands/review_top.py @@ -5,11 +5,9 @@ class command(): def __init__(self): pass def run(self, environment): - environment['screenData']['newCursorReview'] = 'x:0,y:0' + environment['screenData']['newCursorReview'] = {'x':0,'y':0} - environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currChar = \ - - environment['runtime']['outputManager'].presentText(environment, "Top Left", interrupt=True) + environment['runtime']['outputManager'].presentText(environment, "Top", interrupt=True) return environment def setCallback(self, callback): pass