Synthesize VT mouse events and add mouse support to Terminal#4859
Synthesize VT mouse events and add mouse support to Terminal#4859DHowett-MSFT merged 9 commits intomasterfrom
Conversation
zadjii-msft
left a comment
There was a problem hiding this comment.
I'll hold signing off till we get some of the points outlined in that mail thread cleaned up but here's some of the other feedback I have
leonMSFT
left a comment
There was a problem hiding this comment.
A couple of comments, but this looks pretty cool 😎
98a2fbf to
7184a01
Compare
97916aa to
863fab4
Compare
7184a01 to
125e502
Compare
|
Okay, I played with a build of this extensively and only found two issues. One isn't even a bug, it's just ~ ~ weird ~ ~.
2 is a weird case and the encoding is not often used, i bet, so we can ignore it. |
|
Also, yes, gotta figure out how that "revert" commit got in here. |
zadjii-msft
left a comment
There was a problem hiding this comment.
These are definitely nits, so fix them and I'll sign off on this too. I know Dustin mentioned some other bugs, but IMO we can just fix them in post. They seem pretty trivial comparatively. Let's file them, and get these all in ![]()
|
do not automerge this -- it is not into master. |
6e5c928 to
5c720be
Compare
|
Hello @DHowett-MSFT! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
issues addressed; carlos worked with Leon on this

Summary of the Pull Request
Make TerminalControl synthesize mouse events and Terminal send them to
the TerminalInput's MouseInput module.
The implementation here takes significant inspiration from how we handle
KeyEvents.
References
Closes #545 - VT Mouse Mode (Terminal)
References #376 - VT Mouse Mode (ConPty)
TerminalControl
_TrySendMouseEventattempts to send a mouse event via TermInput.Similar to
_TrySendKeyEventdeciding to modify the selection
TerminalApi
TerminalDispatch
TerminalInput
position
(Move MouseInput from TermAdapter to TermInput #4848)
Validation Steps Performed
Tests should still pass.