moveFocus to panel using number #8017

Closed
opened 2026-01-31 01:18:45 +00:00 by claunia · 2 comments
Owner

Originally created by @chanwai1219 on GitHub (May 8, 2020).

Description of the new feature/enhancement

Hi, currently terminal only support moveFocus to up/down/left/right. How can I config to support move focus to panel using number?

Proposed technical implementation details (optional)

For example, the terminal window is spitted to following panels 1,2,3 and 4

| 1 | 2 |

| 3 | 4 |

I wan to jump between panel using moveFoucus #panel. eg
When focus on panel 1, I want to move to 4 using moveFocus 4 to jump to panel 4. Instead of moveFocus down and moveFocus right.

Originally created by @chanwai1219 on GitHub (May 8, 2020). # Description of the new feature/enhancement Hi, currently terminal only support moveFocus to up/down/left/right. How can I config to support move focus to panel using number? # Proposed technical implementation details (optional) For example, the terminal window is spitted to following panels 1,2,3 and 4 -------- | 1 | 2 | -------- | 3 | 4 | -------- I wan to jump between panel using moveFoucus #panel. eg When focus on panel 1, I want to move to 4 using moveFocus 4 to jump to panel 4. Instead of moveFocus down and moveFocus right.
Author
Owner

@zadjii-msft commented on GitHub (May 8, 2020):

Thanks for the suggestion! I think this is going to be enabled by the same work that enables #5464 actually. Behind the scenes, commandline arguments to wt actually use ShortcutActions to control the Terminal, which is the same thing that keybindings use. So, to enable this in #5464, we'd need to make this work first 😄

This is strictly a subset of the #5464 work, but IMO this also works as it's own atomic PR (and adding the commandline arg would be a follow-up changelist), so I'm gonna leave this open and parent to the rest of the "Panes" work.

Thanks!

@zadjii-msft commented on GitHub (May 8, 2020): Thanks for the suggestion! I think this is going to be enabled by the same work that enables #5464 actually. Behind the scenes, commandline arguments to `wt` actually use `ShortcutAction`s to control the Terminal, which is the same thing that keybindings use. So, to enable this in #5464, we'd need to make this work first 😄 This is strictly a subset of the #5464 work, but IMO this also works as it's own _atomic_ PR (and adding the commandline arg would be a follow-up changelist), so I'm gonna leave this open and parent to the rest of the "Panes" work. Thanks!
Author
Owner

@ghost commented on GitHub (May 25, 2021):

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

Handy links:

@ghost commented on GitHub (May 25, 2021): :tada:This issue was addressed in #10142, which has now been successfully released as `Windows Terminal Preview v1.9.1445.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.9.1445.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#8017