prevent double handling of tab in wpf control (#3316)

This commit is contained in:
Zoey Riordan 2019-10-24 22:45:04 +00:00 committed by Michael Niksa
parent f2a99c56c9
commit 566ed8ddbb

View file

@ -341,6 +341,11 @@ void _stdcall TerminalSendKeyEvent(void* terminal, WPARAM wParam)
void _stdcall TerminalSendCharEvent(void* terminal, wchar_t ch)
{
if (ch == '\t')
{
return;
}
const auto publicTerminal = static_cast<const HwndTerminal*>(terminal);
publicTerminal->_terminal->SendCharEvent(ch);
}