[PR #4848] Move MouseInput from TermAdapter to TermInput #25979

Open
opened 2026-01-31 09:13:04 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4848

State: closed
Merged: Yes


Summary of the Pull Request

Move the contents and functionality of MouseInput from TerminalAdapter
to TerminalInput.

References

#545 - VT Mouse Mode (Terminal)
#376 - VT Mouse Mode (ConPty)

Detailed Description of the Pull Request / Additional comments

Pretty straightforward. The MouseInput class was a bit large though so I
split it up into a few files. This should make TerminalInput a bit
easier to manage.

  • mouseInputState: enable some of the modes for mouse input. All saved
    to _mouseInputState.
  • mouseInput: basically just HandleMouse() and any helper functions

Validation Steps Performed

Tests should still pass.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4848 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Move the contents and functionality of MouseInput from TerminalAdapter to TerminalInput. ## References #545 - VT Mouse Mode (Terminal) #376 - VT Mouse Mode (ConPty) ## Detailed Description of the Pull Request / Additional comments Pretty straightforward. The MouseInput class was a bit large though so I split it up into a few files. This should make TerminalInput a bit easier to manage. - `mouseInputState`: enable some of the modes for mouse input. All saved to `_mouseInputState`. - `mouseInput`: basically just `HandleMouse()` and any helper functions ## Validation Steps Performed Tests should still pass.
claunia added the pull-request label 2026-01-31 09:13:04 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25979