word start produce a delta of 2 |c |, move the echos back to input
This commit is contained in:
parent
e3f736cb4f
commit
141377b7b8
@ -26,13 +26,14 @@ class command():
|
||||
|
||||
# More than just a deletion happend
|
||||
if self.env['screenData']['newDelta'].strip() != '':
|
||||
if self.env['screenData']['newDelta'] != self.env['screenData']['oldDelta']:
|
||||
return
|
||||
return
|
||||
|
||||
# No deletion
|
||||
if self.env['screenData']['newNegativeDelta'] == '':
|
||||
return
|
||||
# too much for a single backspace...
|
||||
if len(self.env['screenData']['newNegativeDelta']) >= 2:
|
||||
# word begin produce a diff wiht len == 2 |a | others with 1 |a|
|
||||
if len(self.env['screenData']['newNegativeDelta']) > 2:
|
||||
return
|
||||
|
||||
self.env['runtime']['outputManager'].presentText(self.env['screenData']['newNegativeDelta'], interrupt=True, ignorePunctuation=True, announceCapital=True)
|
Loading…
Reference in New Issue
Block a user