mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-10 00:48:23 -06:00
Fix !_noFlushOnEnd not flushing (#17212)
This simply copies a bit more from `VtEngine::EndPaint`'s `_noFlushOnEnd` handling which already seems to fix the linked issue. Closes #17204
This commit is contained in:
parent
6d0342f0bb
commit
0b76c51ba1
@ -44,6 +44,10 @@ XtermEngine::XtermEngine(_In_ wil::unique_hfile hPipe,
|
||||
// have been reset in the EndPaint call. But since that's not going to
|
||||
// happen now, we need to reset it here, otherwise we may mistakenly skip
|
||||
// the flush on the next frame.
|
||||
if (!_noFlushOnEnd)
|
||||
{
|
||||
_Flush();
|
||||
}
|
||||
_noFlushOnEnd = false;
|
||||
return hr;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user