Fix chunked soft fonts not working (#16349)

This changeset fixes an issue caused by #15991 where "chunked" escape
sequences would get corrupted. The fix is to simply not flush eagerly
anymore. I tried my best to keep the input lag reduction from #15991,
but unfortunately this isn't possible for console APIs.

Closes #16079

## Validation Steps Performed
* `type ascii.com` produces soft font ASCII characters 

(cherry picked from commit bdf2f6f274)
Service-Card-Id: 91283205
Service-Version: 1.19
This commit is contained in:
Leonard Hecker
2023-11-21 21:50:59 +01:00
committed by Dustin L. Howett
parent efbfb12145
commit f63e25b87c
2 changed files with 1 additions and 4 deletions

View File

@@ -467,10 +467,6 @@ void VtIo::SendCloseEvent()
void VtIo::CorkRenderer(bool corked) const noexcept
{
_pVtRenderEngine->Cork(corked);
if (!corked)
{
LOG_IF_FAILED(ServiceLocator::LocateGlobals().pRender->PaintFrame());
}
}
#ifdef UNIT_TESTING

View File

@@ -167,6 +167,7 @@ void VtEngine::_flushImpl() noexcept
void VtEngine::Cork(bool corked) noexcept
{
_corked = corked;
_Flush();
}
// Method Description: