[PR #10713] [MERGED] Add the ability to toggle a pane's split direction #28188

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10713
Author: @Rosefield
Created: 7/19/2021
Status: Merged
Merged: 8/2/2021
Merged by: @undefined

Base: mainHead: feature/gh10665-toggle-pane-split


📝 Commits (3)

  • dc59348 Add the ability to toggle a pane's split direction
  • a051919 Rename togglePaneSplit to toggleSplitOrientation
  • c4e20c7 Merge remote-tracking branch 'origin/main' into feature/gh10665-toggle-pane-split

📊 Changes

12 files changed (+159 additions, -59 deletions)

View changed files

📝 doc/cascadia/profiles.schema.json (+1 -0)
📝 src/cascadia/TerminalApp/AppActionHandlers.cpp (+7 -0)
📝 src/cascadia/TerminalApp/Pane.cpp (+60 -6)
📝 src/cascadia/TerminalApp/Pane.h (+2 -0)
📝 src/cascadia/TerminalApp/TerminalPage.cpp (+15 -0)
📝 src/cascadia/TerminalApp/TerminalPage.h (+1 -0)
📝 src/cascadia/TerminalApp/TerminalTab.cpp (+12 -0)
📝 src/cascadia/TerminalApp/TerminalTab.h (+1 -0)
📝 src/cascadia/TerminalSettingsModel/ActionAndArgs.cpp (+2 -0)
📝 src/cascadia/TerminalSettingsModel/AllShortcutActions.h (+54 -53)
📝 src/cascadia/TerminalSettingsModel/Resources/en-US/Resources.resw (+3 -0)
📝 src/cascadia/TerminalSettingsModel/defaults.json (+1 -0)

📄 Description

Summary of the Pull Request

Add the ability to toggle a pane's split direction

  • Switch from horizontal to vertical split (and vice versa)
  • Propogate new borders through to children.

References

#10665

PR Checklist

  • Closes Quick SSH/Telnet Connection button (#10665)
  • 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've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Ran terminal, created multiple panes in different orientations, ran command through command palate and verified that they displayed properly in the new orientation.


🔄 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/10713 **Author:** [@Rosefield](https://github.com/Rosefield) **Created:** 7/19/2021 **Status:** ✅ Merged **Merged:** 8/2/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `feature/gh10665-toggle-pane-split` --- ### 📝 Commits (3) - [`dc59348`](https://github.com/microsoft/terminal/commit/dc59348c11accbbd74d71c9799302612c9407156) Add the ability to toggle a pane's split direction - [`a051919`](https://github.com/microsoft/terminal/commit/a051919f667e3a055338e264fc9410eff62dfd45) Rename togglePaneSplit to toggleSplitOrientation - [`c4e20c7`](https://github.com/microsoft/terminal/commit/c4e20c777a2b19a7acb12a6c831084e8cac299f0) Merge remote-tracking branch 'origin/main' into feature/gh10665-toggle-pane-split ### 📊 Changes **12 files changed** (+159 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `doc/cascadia/profiles.schema.json` (+1 -0) 📝 `src/cascadia/TerminalApp/AppActionHandlers.cpp` (+7 -0) 📝 `src/cascadia/TerminalApp/Pane.cpp` (+60 -6) 📝 `src/cascadia/TerminalApp/Pane.h` (+2 -0) 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+15 -0) 📝 `src/cascadia/TerminalApp/TerminalPage.h` (+1 -0) 📝 `src/cascadia/TerminalApp/TerminalTab.cpp` (+12 -0) 📝 `src/cascadia/TerminalApp/TerminalTab.h` (+1 -0) 📝 `src/cascadia/TerminalSettingsModel/ActionAndArgs.cpp` (+2 -0) 📝 `src/cascadia/TerminalSettingsModel/AllShortcutActions.h` (+54 -53) 📝 `src/cascadia/TerminalSettingsModel/Resources/en-US/Resources.resw` (+3 -0) 📝 `src/cascadia/TerminalSettingsModel/defaults.json` (+1 -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 Add the ability to toggle a pane's split direction - Switch from horizontal to vertical split (and vice versa) - Propogate new borders through to children. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References #10665 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #10665 * [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 * [x] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Ran terminal, created multiple panes in different orientations, ran command through command palate and verified that they displayed properly in the new orientation. --- <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:26:51 +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#28188