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

Duplicate Tab and Split Tab should duplicate the environment. #12760

Closed
slambert-msft opened this issue Mar 25, 2022 · 7 comments
Closed

Duplicate Tab and Split Tab should duplicate the environment. #12760

slambert-msft opened this issue Mar 25, 2022 · 7 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@slambert-msft
Copy link

Description of the new feature/enhancement

Duplicate Tab would work more like cmd.exe's "start" command, creating an actual clone of the tab with the same cwd, environment, colors, etc. Today Duplicate Tab is basically the same as "New Tab" and executing "start" in a Command Prompt creates a clone in a new terminal window.

Split Tab should not only create a new pane, but that pane should have the same contents as the original pane. Today the behavior is more like a "New Pane" button.

Proposed technical implementation details (optional)

I want a way to properly clone/split a tab, but I'm not tied to the specific words on the buttons. I think it's more intuitive for "Duplicate Tab" to mean copy, but if changing the behavior of a command like this would confuse more people then a new "Clone Tab" command would at least solve my problem.

@slambert-msft slambert-msft added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Mar 25, 2022
@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 Mar 25, 2022
@cpriest
Copy link

cpriest commented Apr 7, 2022

Adding on to this ticket because my issue is similar.

If I launch windows terminal with custom arguments such as wt.exe ssh ..., then duplicate tab, split pane, none of them work. This is in the same vein as above in that it should exec the same ssh.exe ... in the new tab / pane.

Right now, a new tab opens and then dies immediately.

@zadjii-msft
Copy link
Member

Okay, sorry to leave this on read for so long. I knew it was somewhere on the backlog, just couldn't find it.

I think this is basically the same as #4259 - "I've got one pane with some env vars set, and I'd like to open a new tab/pane with those same env vars".

@slambert-msft double check for me that these two issues are the same/?


@cpriest That kinda sounds like it's own issue - mind filing a new issue so we can follow up on that topic specifically?

@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Apr 27, 2022
@slambert-msft
Copy link
Author

slambert-msft commented Apr 27, 2022 via email

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Apr 27, 2022
@zadjii-msft
Copy link
Member

Right on. Sorry again for the triaging delay 😋

/dup #4259

@zadjii-msft zadjii-msft closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2022
@ghost
Copy link

ghost commented Apr 27, 2022

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 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 Needs-Attention The core contributors need to come back around and look at this ASAP. labels Apr 27, 2022
@cpriest
Copy link

cpriest commented Apr 28, 2022

@zadjii-msft: Just to be clear, I should create a new issue for my 'add-on' to this now-duplicate issue? I had seen the other issue #4259 but thought it was different enough from that, but not from this. Primarily because #4259 is mostly talking about environment variables.

@zadjii-msft
Copy link
Member

@cpriest ACTUALLY after the weekend I remembered we actually do already have an issue for that. See #5047. I'll make sure to call out the commandline specifically in that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. 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

3 participants