tweak line changes with diff
This commit is contained in:
parent
32e11ac9a7
commit
103cdf531e
@ -22,12 +22,8 @@ class command():
|
|||||||
# is there something to read?
|
# is there something to read?
|
||||||
if not self.env['runtime']['screenManager'].isDelta():
|
if not self.env['runtime']['screenManager'].isDelta():
|
||||||
return
|
return
|
||||||
|
# this must be a keyecho or something
|
||||||
if len(self.env['screen']['newDelta']) <=2:
|
if len(self.env['screen']['newDelta']) <=2:
|
||||||
return
|
|
||||||
# its a cursor movement (experimental) - maybe also check current shortcut string?
|
|
||||||
|
|
||||||
#if not '$' in self.env['screen']['newDelta'] and
|
|
||||||
# not '#' in self.env['screen']['newDelta']:
|
|
||||||
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
|
||||||
|
@ -101,7 +101,6 @@ class fenrirManager():
|
|||||||
|
|
||||||
def handleScreenUpdate(self, event):
|
def handleScreenUpdate(self, event):
|
||||||
#startTime = time.time()
|
#startTime = time.time()
|
||||||
|
|
||||||
self.environment['runtime']['screenManager'].update('onUpdate')
|
self.environment['runtime']['screenManager'].update('onUpdate')
|
||||||
'''
|
'''
|
||||||
if self.environment['runtime']['applicationManager'].isApplicationChange():
|
if self.environment['runtime']['applicationManager'].isApplicationChange():
|
||||||
|
Loading…
Reference in New Issue
Block a user