Eat all tap keypresses no matter what. (#985)

Fixes #744
This commit is contained in:
Mike Griese 2019-05-24 15:04:00 -05:00 committed by GitHub
parent ce0eaab9ac
commit 0f62ec81d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -552,6 +552,14 @@ namespace winrt::Microsoft::Terminal::TerminalControl::implementation
}
}
// Manually prevent keyboard navigation with tab. We want to send tab to
// the terminal, and we don't want to be able to escape focus of the
// control with tab.
if (e.OriginalKey() == VirtualKey::Tab)
{
handled = true;
}
e.Handled(handled);
}