[PR #13659] [MERGED] Make Mark Mode keybindings precede custom keybindings #29685

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13659
Author: @carlos-zamora
Created: 8/2/2022
Status: Merged
Merged: 8/22/2022
Merged by: @undefined

Base: mainHead: dev/cazamor/mark-mode/mamo-precedes-kbd


📝 Commits (3)

  • 7047e56 Make Mark Mode keybindings precede custom keybindings
  • d980227 helper method!
  • b640544 move TryMarkModeKbd() into TryHandleKbd()

📊 Changes

4 files changed (+90 additions, -59 deletions)

View changed files

📝 src/cascadia/TerminalControl/ControlCore.cpp (+67 -47)
📝 src/cascadia/TerminalControl/ControlCore.h (+3 -0)
📝 src/cascadia/TerminalControl/ControlCore.idl (+9 -11)
📝 src/cascadia/TerminalControl/TermControl.cpp (+11 -1)

📄 Description

Summary of the Pull Request

This PR moves the key handling for mark mode into a helper method that is then called before an action/key binding is attempted.

References

Epic: #4993
Closes #13533

Validation Steps Performed

  • Add custom keybinding to "down" arrow key
  • in mark mode --> selection updates appropriately
  • out of mark mode --> keybinding executed

🔄 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/13659 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 8/2/2022 **Status:** ✅ Merged **Merged:** 8/22/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/cazamor/mark-mode/mamo-precedes-kbd` --- ### 📝 Commits (3) - [`7047e56`](https://github.com/microsoft/terminal/commit/7047e562035fb64f4d10f8d39eb2423c00c95fe4) Make Mark Mode keybindings precede custom keybindings - [`d980227`](https://github.com/microsoft/terminal/commit/d980227ac010c504503b227b26f41feb11774db1) helper method! - [`b640544`](https://github.com/microsoft/terminal/commit/b6405446c1be408fecf16987e0e901ffce2236b9) move TryMarkModeKbd() into TryHandleKbd() ### 📊 Changes **4 files changed** (+90 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/ControlCore.cpp` (+67 -47) 📝 `src/cascadia/TerminalControl/ControlCore.h` (+3 -0) 📝 `src/cascadia/TerminalControl/ControlCore.idl` (+9 -11) 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+11 -1) </details> ### 📄 Description ## Summary of the Pull Request This PR moves the key handling for mark mode into a helper method that is then called before an action/key binding is attempted. ## References Epic: #4993 Closes #13533 ## Validation Steps Performed - Add custom keybinding to "down" arrow key - in mark mode --> selection updates appropriately - out of mark mode --> keybinding executed --- <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:36:19 +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#29685