fix some other things :)

This commit is contained in:
chrys
2016-07-17 01:20:42 +02:00
parent 15d11c96f0
commit 027be8a80b
5 changed files with 10 additions and 12 deletions

View File

@ -27,9 +27,9 @@ class screen():
except:
return environment
if trigger != 'onInput' and False: # so we already moved the cursor and is not input -> screenUpdate was faster
if ((newContentBytes[2] != environment['screenData']['oldCursor']['x']) or\
(newContentBytes[3] != environment['screenData']['oldCursor']['y'])) and\
(newTTY == environment['screenData']['oldTTY']):
if ((newContentBytes[2] != environment['screenData']['newCursor']['x']) or\
(newContentBytes[3] != environment['screenData']['newCursor']['y'])) and\
(newTTY == environment['screenData']['newTTY']):
return environment
# set new "old" values
environment['screenData']['oldContentBytes'] = environment['screenData']['newContentBytes']