Use visual layout for moveFocusX target #3363

Closed
opened 2026-01-30 23:19:33 +00:00 by claunia · 2 comments
Owner

Originally created by @richardszalay on GitHub (Aug 12, 2019).

Description of the new feature/enhancement

Currently moveFocus{Up,Down,Left,Right} appears to move based on how the panes were split rather than what is visibly adjacent to the current pane.

Here's a screenshot to illustrate. The red are the moveFocus{Up,Down,Left,Right} commands I'm using and the change in focus (1, 2, 3, 4), and green is how I'd expect it to work.

I've added this is a feature request rather than a bug since it may just be personal preference:

wt-movepane

Proposed technical implementation details (optional)

Focus the first pane that first collides with the vector from the current window (top-left corner? cursor location?) in the direction of the command.

Originally created by @richardszalay on GitHub (Aug 12, 2019). # Description of the new feature/enhancement Currently `moveFocus{Up,Down,Left,Right}` appears to move based on how the panes were split rather than what is visibly adjacent to the current pane. Here's a screenshot to illustrate. The red are the `moveFocus{Up,Down,Left,Right}` commands I'm using and the change in focus (1, 2, 3, 4), and green is how I'd expect it to work. I've added this is a feature request rather than a bug since it may just be personal preference: ![wt-movepane](https://user-images.githubusercontent.com/229467/62846099-b7a9dd80-bd10-11e9-9fa0-58b30660adf4.png) # Proposed technical implementation details (optional) Focus the first pane that first collides with the vector from the current window (top-left corner? cursor location?) in the direction of the command.
Author
Owner

@zadjii-msft commented on GitHub (Aug 12, 2019):

Hmm. this does seem better, and it looks like tmux does it this way, so it must be possible.

@zadjii-msft commented on GitHub (Aug 12, 2019): Hmm. this does seem better, and it looks like tmux does it this way, so it must be possible.
Author
Owner

@ghost commented on GitHub (Aug 31, 2021):

:tada:This issue was addressed in #10756, which has now been successfully released as Windows Terminal Preview v1.11.2421.0.🎉

Handy links:

@ghost commented on GitHub (Aug 31, 2021): :tada:This issue was addressed in #10756, which has now been successfully released as `Windows Terminal Preview v1.11.2421.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.11.2421.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3363