-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The ability to toggle the split direction of a pane #10665
Comments
Oh huh, I suppose we don't have a issue for this one in #1000 yet. This doesn't seem too hard, wire up a keybinding, and just toggle the orientation of the split on the parent of the active pane. Easy enough! |
@zadjii-msft I would like to take up this issue. What hotkey should be set to toggle split direction? |
Hi |
@NishantChandla / @jelonmusk go right ahead! I don't think we really want to have this bound to a key by default right now. If you create an action like
The entire Terminal is written in C++, so you'll have to use that. |
@NishantChandla @jelonmusk if you two choose not to do this task I was also planning on doing it, just let me know. |
@Rosefield As you have created the issue, you can work on this! |
<!-- 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.
🎉This issue was addressed in #10713, which has now been successfully released as Handy links: |
Description of the new feature/enhancement
Once a pane was split, it would be nice to change the orientation of that split. Having a hotkey to toggle the split orientation of the currently active pane would allow changing how the terminal looks without needing to close and recreate a terminal.
E.G.
Create two panes
and then swap them to look like
and vice versa.
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: