Skip to content

Commit

Permalink
Fix chunked soft fonts not working (#16349)
Browse files Browse the repository at this point in the history
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 ✅
  • Loading branch information
lhecker committed Nov 21, 2023
1 parent adb0472 commit bdf2f6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions src/host/VtIo.cpp
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/renderer/vt/state.cpp
Expand Up @@ -167,6 +167,7 @@ void VtEngine::_flushImpl() noexcept
void VtEngine::Cork(bool corked) noexcept
{
_corked = corked;
_Flush();
}

// Method Description:
Expand Down

0 comments on commit bdf2f6f

Please sign in to comment.