improve stuff
This commit is contained in:
parent
0e1e054416
commit
7e9494c19f
@ -23,8 +23,8 @@ class command():
|
|||||||
if not self.env['runtime']['screenManager'].isDelta():
|
if not self.env['runtime']['screenManager'].isDelta():
|
||||||
return
|
return
|
||||||
# this must be a keyecho or something
|
# this must be a keyecho or something
|
||||||
if len(self.env['screen']['newDelta'].strip(' \n\t')) >= 1:
|
if len(self.env['screen']['newDelta'].strip(' \n\t')) <= 1:
|
||||||
if abs(self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x']) > 1:
|
if abs(self.env['screen']['newCursor']['x'] - self.env['screen']['oldCursor']['x']) >= 1:
|
||||||
# if len(self.env['screen']['newDelta'].strip(' \n\t0123456789')) <= 2:
|
# if len(self.env['screen']['newDelta'].strip(' \n\t0123456789')) <= 2:
|
||||||
return
|
return
|
||||||
if abs(self.env['screen']['newCursor']['y'] - self.env['screen']['oldCursor']['y']) == 1:
|
if abs(self.env['screen']['newCursor']['y'] - self.env['screen']['oldCursor']['y']) == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user