Using SetConsoleMode to set/clear ENABLE_MOUSE_INPUT does not take effect (unless a WriteConsoleW call occurs as well) #15711
Labels
Area-Server
Down in the muck of API call servicing, interprocess communication, eventing, etc.
Area-VT
Virtual Terminal sequence support
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-1
A description (P1)
Product-Conpty
For console issues specifically related to conpty
Severity-Blocking
We won't ship a release like this! No-siree.
Milestone
Windows Terminal version
1.18.1462.0
Windows build number
10.0.19045.3208
Other Software
I've provided a minimal standalone repro here to eliminate dependencies on anything other than Terminal.
But for completeness: this was discovered in the context of Clink.
Steps to reproduce
This is a regression in 1.18; the problem does not exist in 1.17 and earlier.
Minimal repro program is available at https://github.com/chrisant996/repro_enable_mouse_input.
The repo also includes a pre-built code-signed
Repro.exe
executable.See the Readme.md file in that repo for full details and repro instructions.
Repro.exe
program from the repro_enable_mouse_input repo (you can build it yourself from the sources, or you can run the pre-built code-signed copy)Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: