prevent double handling of tab in wpf control (#3316)
This commit is contained in:
parent
f2a99c56c9
commit
566ed8ddbb
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue