Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conpty: request DSR-CPR before Win32 input mode (#16445)
This prevents an issue in conhost where older versions of Windows Terminal (including the ones currently inbox in Windows, as well as stable and preview) will *still* cause WSL interop to hang on startup. Since VT input is erroneously re-encoded as Win32 input events on those versions, we need to make sure we request the cursor position *before* enabling Win32 input mode. That way, the CPR we get back is properly encoded. (cherry picked from commit 17867af) Service-Card-Id: 91301135 Service-Version: 1.19
- Loading branch information