fix char echo

This commit is contained in:
chrys 2017-11-11 23:33:32 +01:00
parent 7e61783128
commit 0099d61a21

View File

@ -19,7 +19,7 @@ class command():
def run(self):
# big changes are no char (but the value is bigger than one maybe the differ needs longer than you can type, so a little strange random buffer for now)
xMove = abs(self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x'])
if not xMove > 1:
if xMove > 1:
return
if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'charEcho'):
return