ignore space in horizontal movement

This commit is contained in:
chrys 2016-12-22 22:54:40 +01:00
parent f738a369f3
commit d8442c8f04

View File

@ -36,6 +36,7 @@ class command():
if not self.env['runtime']['cursorManager'].isCursorHorizontalMove():
return
x, y, currChar = char_utils.getCurrentChar(self.env['screenData']['newCursor']['x'], self.env['screenData']['newCursor']['y'], self.env['screenData']['newContentText'])
if not currChar.isspace():
self.env['runtime']['outputManager'].presentText(currChar, interrupt=True, ignorePunctuation=True, announceCapital=True)
def setCallback(self, callback):
pass