mirror of
https://github.com/microsoft/terminal.git
synced 2026-04-19 12:41:11 +00:00
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:
committed by
Dustin L. Howett
parent
efbfb12145
commit
f63e25b87c
@@ -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
|
||||
|
||||
@@ -167,6 +167,7 @@ void VtEngine::_flushImpl() noexcept
|
||||
void VtEngine::Cork(bool corked) noexcept
|
||||
{
|
||||
_corked = corked;
|
||||
_Flush();
|
||||
}
|
||||
|
||||
// Method Description:
|
||||
|
||||
Reference in New Issue
Block a user