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

(cherry picked from commit 59239e3)
  • Loading branch information
skyline75489 authored and DHowett committed Jul 7, 2021
1 parent bf6fd9d commit cd6ec2d
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 cd6ec2d

Please sign in to comment.