tweak echo

This commit is contained in:
chrys 2016-07-17 16:23:39 +02:00
parent 87e9cc3310
commit 5f20bf7b99

View File

@ -5,7 +5,7 @@ class command():
pass pass
def run(self, environment): def run(self, environment):
if not environment['runtime']['settingsManager'].getSettingAsBool(environment, 'keyboard', 'charEcho') and\ if not environment['runtime']['settingsManager'].getSettingAsBool(environment, 'keyboard', 'charEcho') and\
len(environment['screenData']['newDelta']) <= 2 and \ #len(environment['screenData']['newDelta']) <= 2 and \
environment['screenData']['newCursor'] != environment['screenData']['oldCursor']: environment['screenData']['newCursor'] != environment['screenData']['oldCursor']:
return environment return environment
if environment['screenData']['newDelta'] == environment['screenData']['oldDelta'] and \ if environment['screenData']['newDelta'] == environment['screenData']['oldDelta'] and \