[PR #9970] [MERGED] [Conpty] Pass through request for mouse mode to the Terminal #27828

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9970
Author: @PankajBhojwani
Created: 4/28/2021
Status: Merged
Merged: 5/7/2021
Merged by: @undefined

Base: mainHead: dev/pabhoj/mouse_mode


📝 Commits (9)

📊 Changes

4 files changed (+43 additions, -0 deletions)

View changed files

📝 src/host/VtIo.cpp (+1 -0)
📝 src/host/getset.cpp (+15 -0)
📝 src/host/inputBuffer.cpp (+22 -0)
📝 src/host/inputBuffer.hpp (+5 -0)

📄 Description

Summary of the Pull Request

When the client application sets the console input mode with the ENABLE_MOUSE_INPUT flag, we send along the appropriate VT sequences to the connected terminal (if there is one).

References

#376
#6859

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.
  • I work here

Validation Steps Performed

Far manager works


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/9970 **Author:** [@PankajBhojwani](https://github.com/PankajBhojwani) **Created:** 4/28/2021 **Status:** ✅ Merged **Merged:** 5/7/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/pabhoj/mouse_mode` --- ### 📝 Commits (9) - [`4fffd4f`](https://github.com/microsoft/terminal/commit/4fffd4f7687e3b1813ebb0d6038595eb25ebbd07) mouse mode - [`565aba2`](https://github.com/microsoft/terminal/commit/565aba21bbf5be68d40beb8a1872faf1b343638e) check prev mode - [`817c420`](https://github.com/microsoft/terminal/commit/817c4208afc49bae39d4cd19ddb61bdd7ed4cafe) Merge branch 'main' of https://github.com/microsoft/terminal into dev/pabhoj/mouse_mode - [`2f5a7c9`](https://github.com/microsoft/terminal/commit/2f5a7c971e4b73eba8262f84eda5f666b4463949) combine functions, correct VT - [`bce6310`](https://github.com/microsoft/terminal/commit/bce6310a34625d51758c193d858b39b5e0bdc135) check quick edit mode - [`b76cc01`](https://github.com/microsoft/terminal/commit/b76cc01b60fd47131c79cbf86ef616f927490d21) less verbose - [`5185769`](https://github.com/microsoft/terminal/commit/518576961d519b6f793e82badca651b5e990821f) console quick edit mode - [`32e5c6a`](https://github.com/microsoft/terminal/commit/32e5c6aa25d7b90e5900f62adb70a392b4f89ea7) merge VT requests - [`22f1714`](https://github.com/microsoft/terminal/commit/22f1714765ccb9c2c680590293ec1e9623373d39) comment to GH 9970 ### 📊 Changes **4 files changed** (+43 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/host/VtIo.cpp` (+1 -0) 📝 `src/host/getset.cpp` (+15 -0) 📝 `src/host/inputBuffer.cpp` (+22 -0) 📝 `src/host/inputBuffer.hpp` (+5 -0) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request When the client application sets the console input mode with the `ENABLE_MOUSE_INPUT` flag, we send along the appropriate VT sequences to the connected terminal (if there is one). <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References #376 #6859 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [ ] Closes #xxx * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [x] I work here <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Far manager works --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:24:31 +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#27828