Reported by Q on 2012-08-07 04:40
This works as expected in standard edit boxes, For instance, if you begin typing a word, backspace to the first character and then completely rewrite the word, NVDA only reads the new word. By contrast, if you perform these same actions in the command prompt (cmd.exe), NVDA concatenates the deleted characters and those newly-typed, resulting in a scrambled mess being spoken when you finish the word.
The text was updated successfully, but these errors were encountered:
Comment 1 by tspivey on 2012-08-08 05:56
I think this is caused by NVDAHelper.nvdaControllerInternal_typedCharacterNotify ignoring console windows, which also ignores backspace.
Changing the if statement to if ch == u'\x08' or focus.windowClassName!="ConsoleWindowClass" seems to work, if we assume backspace always deletes the previous character.