We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50138cc commit d5050a5Copy full SHA for d5050a5
src/cascadia/TerminalControl/TermControl.cpp
@@ -1051,7 +1051,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
1051
// MSFT 33353327: We're purposefully not using _initializedTerminal to ensure we're fully initialized.
1052
// Doing so makes us return nullptr when XAML requests an automation peer.
1053
// Instead, we need to give XAML an automation peer, then fix it later.
1054
- if (!_IsClosing() & !_detached)
+ if (!_IsClosing() && !_detached)
1055
{
1056
// create a custom automation peer with this code pattern:
1057
// (https://docs.microsoft.com/en-us/windows/uwp/design/accessibility/custom-automation-peers)
0 commit comments