try to fix race while echo and delete_echo
This commit is contained in:
parent
c436a32e1d
commit
2c0e6907db
@ -22,8 +22,6 @@ class command():
|
|||||||
# detect deletion or chilling
|
# detect deletion or chilling
|
||||||
if self.env['screenData']['newCursor']['x'] <= self.env['screenData']['oldCursor']['x']:
|
if self.env['screenData']['newCursor']['x'] <= self.env['screenData']['oldCursor']['x']:
|
||||||
return
|
return
|
||||||
if self.env['runtime']['inputManager'].noKeyPressed():
|
|
||||||
return
|
|
||||||
# is there any change?
|
# is there any change?
|
||||||
if self.env['screenData']['newDelta'] == '':
|
if self.env['screenData']['newDelta'] == '':
|
||||||
return
|
return
|
||||||
|
@ -28,8 +28,6 @@ class command():
|
|||||||
if self.env['screenData']['newDelta'].strip() != '':
|
if self.env['screenData']['newDelta'].strip() != '':
|
||||||
if self.env['screenData']['newDelta'] != self.env['screenData']['oldDelta']:
|
if self.env['screenData']['newDelta'] != self.env['screenData']['oldDelta']:
|
||||||
return
|
return
|
||||||
if self.env['runtime']['inputManager'].noKeyPressed():
|
|
||||||
return
|
|
||||||
# No deletion
|
# No deletion
|
||||||
if self.env['screenData']['newNegativeDelta'] == '':
|
if self.env['screenData']['newNegativeDelta'] == '':
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user