Skip to content

Use visual layout for moveFocusX target #2398

@richardszalay

Description

@richardszalay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.this-will-be-a-breaking-change

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions