microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
94.24k stars 8.16k forks source link

Could move focus be made circular #16083

Open vefatica opened 9 months ago

vefatica commented 9 months ago

Description of the new feature/enhancement

If you're in the rightmost pane Alt+Right takes you to the leftmost pane (similarly for the other three). I often want to switch back and forth between two panes.

Proposed technical implementation details (optional)

zadjii-msft commented 9 months ago

This seems totally reasonable.

vefatica commented 9 months ago

Thanks. I'm surprised it hadn't been requested before. You have various levels of backlog (which I don't understand). Is it likely to be implemented any time soon?

zadjii-msft commented 9 months ago

Notes:

vefatica commented 9 months ago

Move focus should be torodial

Heehee! I thought of that very word figuring there was already something rectangular. Just last week I took a few random walks on a torus!

codecruisedor commented 8 months ago

Hi @zadjii-msft , I have a question regarding this.. suppose we have the panes as below : image

And we are currently focused on A and press Alt+Left. Should the focus then move to pane B or C? I am trying to visualize the toroidal movement, but am confused about this.

zadjii-msft commented 8 months ago

Honestly, I'd probably just go with "B" in that case. Either one is an arbitrary choice, might as well just go with the first one of the two.

Similarly, I'd expect it to do the same thing as going right from A (in the above example)