[PR #10927] GH10909 in order movement #28311

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

Original Pull Request: https://github.com/microsoft/terminal/pull/10927

State: closed
Merged: Yes


Adds new in-order traversal for MoveFocus and SwapPane actions.
Refactors the Pane methods to share a NavigateDirection
implementation.

Closes #10909

A large amount of the churn here is just renaming some of the things for
directional movement to reflect that it might not always be based on the
focused pane. NextPane and PreviousPane are the functions that
actually select the next/previous pane respectively and are the core
component of this PR.

VALIDATION
Created multiple panes on a tab, and tried both forward and backwards
movements with move-focus and swap-pane.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/10927 **State:** closed **Merged:** Yes --- Adds new in-order traversal for MoveFocus and SwapPane actions. Refactors the Pane methods to share a `NavigateDirection` implementation. Closes #10909 A large amount of the churn here is just renaming some of the things for directional movement to reflect that it might not always be based on the focused pane. `NextPane` and `PreviousPane` are the functions that actually select the next/previous pane respectively and are the core component of this PR. VALIDATION Created multiple panes on a tab, and tried both forward and backwards movements with move-focus and swap-pane.
claunia added the pull-request label 2026-01-31 09:27:42 +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#28311