remove unneded checks
This commit is contained in:
parent
8e39b7b884
commit
d6498f053c
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user