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 terminal session #6871

Closed
maifeeulasad opened this issue Jul 11, 2020 · 3 comments
Closed

Duplicate terminal session #6871

maifeeulasad opened this issue Jul 11, 2020 · 3 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Product-Terminal The new Windows Terminal.

Comments

@maifeeulasad
Copy link

Description of the new feature/enhancement

Duplicate a session

Proposed technical implementation details (optional)

There should be options to open at least the same directory in new tab. Like GNOME in Linux has CTRL + SHIFT + T, CTRL + SHIFT + N.

But when we are discussing about session, it should be more than opening in a specific directory.

Image we are working on CMD and a system variable is added, will the CMD knows about it? No.
If I have added a path. And I ask for that path in that CMD, will CMD be able to provide me with that. Now if I open up a new CMD, I will be able to access that path. So if we want to implement session, like we have a new key-set CTRL + SHIFT + D, we have to create another layer, where the CLI will be held. The top layer will just be view.

@maifeeulasad maifeeulasad added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jul 11, 2020
@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 Jul 11, 2020
@j4james
Copy link
Collaborator

j4james commented Jul 11, 2020

Opening a new tab in the same directory is #3158.

If you're expecting the new tab to also inherit environment variables from the current tab, I suspect that's not possible. Do you know of a Linux terminal that can do that?

@maifeeulasad
Copy link
Author

@j4james I don't if any thing exists like this till now.
But maybe this this is possible.
I'll try to implement it on a small scale, and get back here as soon as possible.
Thanks.

@zadjii-msft
Copy link
Member

zadjii-msft commented Jul 13, 2020

So I know that "restore session" is technically different, but it's got a lot of the same requirements as "duplicate session". I've discussed this more over in #960 (comment) and linked threads. While restoring we might be able to get away with by hanging on to old sessions, duplicating the sessions would be generally impossible.

Let's also link up other relevant discussions:

I'm going to close this because I believe that it's not possible in the general sense, and that #3158 is going to cover the 99% use case (if that's even possible for us). Feel free to continue the discussion however and prove me wrong ☺️

@zadjii-msft zadjii-msft added the Product-Terminal The new Windows Terminal. label Jul 13, 2020
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. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

3 participants