try to fix race while echo and delete_echo

This commit is contained in:
chrys 2016-10-22 03:27:18 +02:00
parent c436a32e1d
commit 2c0e6907db
2 changed files with 1 additions and 5 deletions

View File

@ -22,8 +22,6 @@ class command():
# detect deletion or chilling
if self.env['screenData']['newCursor']['x'] <= self.env['screenData']['oldCursor']['x']:
return
if self.env['runtime']['inputManager'].noKeyPressed():
return
# is there any change?
if self.env['screenData']['newDelta'] == '':
return

View File

@ -28,8 +28,6 @@ class command():
if self.env['screenData']['newDelta'].strip() != '':
if self.env['screenData']['newDelta'] != self.env['screenData']['oldDelta']:
return
if self.env['runtime']['inputManager'].noKeyPressed():
return
# No deletion
if self.env['screenData']['newNegativeDelta'] == '':
return