[PR #6431] [MERGED] Don't snap on input nor dismiss selection for just a modifier key #26680

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/6431
Author: @zadjii-msft
Created: 6/9/2020
Status: Merged
Merged: 6/9/2020
Merged by: @undefined

Base: masterHead: dev/migrie/b/6423-dont-snap-or-dismiss-select


📝 Commits (2)

  • ad614f2 Don't snap on input nor dismiss selection for just a modifier key
  • cb60cc7 good bot

📊 Changes

4 files changed (+36 additions, -2 deletions)

View changed files

📝 .github/actions/spell-check/dictionary/apis.txt (+2 -0)
📝 src/cascadia/TerminalControl/TermControl.cpp (+4 -1)
📝 src/cascadia/TerminalCore/Terminal.cpp (+7 -1)
📝 src/types/inc/IInputEvent.hpp (+23 -0)

📄 Description

Does what it says on the label. Pure modifier keys weren't making it
this far at all prior to #6309. This PR changes these methods to make
sure that we only dismiss a selection or snap on input when the key
pressed isn't a modifier key.

References

PR Checklist

Validation Steps Performed

  • Tried to repro this in the Terminal, couldn't anymore.

🔄 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/6431 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 6/9/2020 **Status:** ✅ Merged **Merged:** 6/9/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `dev/migrie/b/6423-dont-snap-or-dismiss-select` --- ### 📝 Commits (2) - [`ad614f2`](https://github.com/microsoft/terminal/commit/ad614f217382cb1c1126d76df27d628a3e0c41d1) Don't snap on input nor dismiss selection for just a modifier key - [`cb60cc7`](https://github.com/microsoft/terminal/commit/cb60cc7269916a022ce8e540a7f84f8d218eff7c) good bot ### 📊 Changes **4 files changed** (+36 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.github/actions/spell-check/dictionary/apis.txt` (+2 -0) 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+4 -1) 📝 `src/cascadia/TerminalCore/Terminal.cpp` (+7 -1) 📝 `src/types/inc/IInputEvent.hpp` (+23 -0) </details> ### 📄 Description Does what it says on the label. Pure modifier keys weren't making it this far at all prior to #6309. This PR changes these methods to make sure that we only dismiss a selection or snap on input when the key pressed isn't a modifier key. ## References * regressed in #6309 ## PR Checklist * [x] Closes #6423 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Validation Steps Performed * Tried to repro this in the Terminal, couldn't anymore. --- <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:17:32 +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#26680