Skip to content

Commit

Permalink
Don't notify a11y event when in ConPTY mode (#10537)
Browse files Browse the repository at this point in the history
Don't notify a11y event when in ConPTY mode

In support of #10528
  • Loading branch information
skyline75489 authored Jul 6, 2021
1 parent 79a18f0 commit 59239e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/host/screenInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,12 @@ void SCREEN_INFORMATION::NotifyAccessibilityEventing(const short sStartX,
const short sEndX,
const short sEndY)
{
CONSOLE_INFORMATION& gci = ServiceLocator::LocateGlobals().getConsoleInformation();
if (gci.IsInVtIoMode())
{
return;
}

// Fire off a winevent to let accessibility apps know what changed.
if (IsActiveScreenBuffer())
{
Expand Down

0 comments on commit 59239e3

Please sign in to comment.