fix a thing where we would see the cursor on offs because it did not get completely flushed

This commit is contained in:
Michael Niksa 2021-08-02 10:22:03 -07:00
parent 5645af0e6e
commit 682ada1158

View file

@ -341,6 +341,7 @@ void VtApiRoutines::GetConsoleCursorInfoImpl(const SCREEN_INFORMATION& context,
const bool isVisible) noexcept
{
isVisible ? (void)m_pVtEngine->_ShowCursor() : (void)m_pVtEngine->_HideCursor();
(void)m_pVtEngine->_Flush();
return S_OK;
}