Passthrough BEL in conpty (#2990)
🔔 [insert Chorus of the Bells here -DHowett] Fixes #2952.
This commit is contained in:
parent
52534c94cc
commit
6831120755
|
@ -44,6 +44,17 @@ bool OutputStateMachineEngine::ActionExecute(const wchar_t wch)
|
|||
{
|
||||
_dispatch->Execute(wch);
|
||||
_ClearLastChar();
|
||||
|
||||
if (wch == AsciiChars::BEL)
|
||||
{
|
||||
// microsoft/terminal#2952
|
||||
// If we're attached to a terminal, let's also pass the BEL through.
|
||||
if (_pfnFlushToTerminal != nullptr)
|
||||
{
|
||||
_pfnFlushToTerminal();
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue