improve trigger
This commit is contained in:
parent
fc0eec157f
commit
b144ec06a7
@ -25,7 +25,7 @@ class command():
|
|||||||
|
|
||||||
# its a cursor movement (experimental) - maybe also check current shortcut string?
|
# its a cursor movement (experimental) - maybe also check current shortcut string?
|
||||||
if abs(self.env['screenData']['newCursor']['x'] - self.env['screenData']['oldCursor']['x']) >= 1:
|
if abs(self.env['screenData']['newCursor']['x'] - self.env['screenData']['oldCursor']['x']) >= 1:
|
||||||
if len(self.env['screenData']['newDelta']) <= 2:
|
if len(self.env['screenData']['newDelta'].strip(' \n\t')) <= 2:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newDelta'], interrupt=False)
|
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newDelta'], interrupt=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user