remove unneded checks

This commit is contained in:
Chrys 2019-09-06 22:10:39 +02:00
parent 8e39b7b884
commit d6498f053c

View File

@ -32,10 +32,7 @@ class command():
return return
if not xMove == len(self.env['screen']['newDelta']): if not xMove == len(self.env['screen']['newDelta']):
return return
# detect deletion or chilling
if self.env['screen']['newCursor']['x'] <= self.env['screen']['oldCursor']['x']:
return
# filter unneded space on word begin # filter unneded space on word begin
currDelta = self.env['screen']['newDelta'] currDelta = self.env['screen']['newDelta']
if len(currDelta.strip()) != len(currDelta) and \ if len(currDelta.strip()) != len(currDelta) and \