Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move-focus doesn't work after splitting #9858

Closed
Jackenmen opened this issue Apr 16, 2021 · 3 comments
Closed

move-focus doesn't work after splitting #9858

Jackenmen opened this issue Apr 16, 2021 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@Jackenmen
Copy link

Windows Terminal version (or Windows build number)

10.0.19041.867, 1.7.1033.0

Other Software

No response

Steps to reproduce

  1. Open new tab without any split panes in Windows Terminal
  2. Run this command in the tab:
wt sp -V cmd /C "echo hello && pause" ; mf left
  1. Observe

Expected Behavior

I expected a split pane to be created and a focus to still remain on the previously focused pane:
image

Actual Behavior

The split pane was created but a focus switched to the new pane:
image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 16, 2021
@Jackenmen
Copy link
Author

A clever workaround for this is to run a wt mf left command inside the new pane like this:

wt sp -V cmd /C "wt mf left && echo hello && pause"

@zadjii-msft
Copy link
Member

Weirdly enough, this is tracked in #6586. move-focus works great during the startup, while the commands are being processed, but unfortunately focus still gets yeeted at one of the panes randomly once startup is finished 😞

/dup #6586

@ghost
Copy link

ghost commented Apr 16, 2021

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Apr 16, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 16, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants