diff --git a/source/NVDAObjects/UIA/winConsoleUIA.py b/source/NVDAObjects/UIA/winConsoleUIA.py index 41b379717bd..7499a832248 100644 --- a/source/NVDAObjects/UIA/winConsoleUIA.py +++ b/source/NVDAObjects/UIA/winConsoleUIA.py @@ -287,6 +287,11 @@ def script_flush_queuedChars(self, gesture): self._queuedChars = [] speech.clearTypedWordBuffer() + def _get_caretMovementDetectionUsesEvents(self): + """Using caret events in consoles sometimes causes the last character of the + prompt to be read when quickly deleting text.""" + return False + def _getTextLines(self): # Filter out extraneous empty lines from UIA ptr = self.UIATextPattern.GetVisibleRanges()