diff --git a/src/host/_stream.cpp b/src/host/_stream.cpp index 544b89af995..8407f5e0759 100644 --- a/src/host/_stream.cpp +++ b/src/host/_stream.cpp @@ -765,6 +765,15 @@ using Microsoft::Console::VirtualTerminal::StateMachine; Status = AdjustCursorPosition(screenInfo, CursorPosition, dwFlags & WC_KEEP_CURSOR_VISIBLE, psScrollY); } } + // Notify accessibility to read the backspaced character. + // See GH:12735, MSFT:31748387 + if (screenInfo.HasAccessibilityEventing()) + { + if (IConsoleWindow* pConsoleWindow = ServiceLocator::LocateConsoleWindow()) + { + LOG_IF_FAILED(pConsoleWindow->SignalUia(UIA_Text_TextChangedEventId)); + } + } break; } case UNICODE_TAB: