Skip to content

Commit

Permalink
Flush OSC through InputStateMachineEngine for inquiries over conpty
Browse files Browse the repository at this point in the history
  • Loading branch information
DHowett committed Aug 17, 2024
1 parent d53b1b4 commit 99d1979
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/terminal/parser/InputStateMachineEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,11 @@ bool InputStateMachineEngine::ActionIgnore() noexcept
// - true if we handled the dispatch.
bool InputStateMachineEngine::ActionOscDispatch(const size_t /*parameter*/, const std::wstring_view /*string*/) noexcept
{
if (_pDispatch->IsVtInputEnabled() &&
_pfnFlushToInputQueue)
{
return _pfnFlushToInputQueue();
}
return false;
}

Expand Down

0 comments on commit 99d1979

Please sign in to comment.