Update curr_word.py

This commit is contained in:
chrys87 2016-08-23 13:05:22 +02:00 committed by GitHub
parent 9d1e83d115
commit bfb8028107

View File

@ -6,8 +6,7 @@ class command():
pass
def run(self, environment):
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
if (environment['screenData']['newCursorReview']['y'] == -1) or \
(environment['screenData']['newCursorReview']['x'] == -1):
if (environment['screenData']['newCursorReview'] == None:
environment['screenData']['newCursorReview'] = environment['screenData']['newCursor'].copy()
environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currWord = \