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

Summon window and switch to profile #12135

Open
zadjii-msft opened this issue Jan 11, 2022 · 1 comment
Open

Summon window and switch to profile #12135

zadjii-msft opened this issue Jan 11, 2022 · 1 comment
Labels
Area-Windowing Window frame, quake mode, tearout Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Milestone

Comments

@zadjii-msft
Copy link
Member

This is in response to an internal mail thread. I'm trying to read between the lines here, but here's the gist:

These users want different taskbar entries that when clicked, either open the terminal to a specific profile or launch that profile if it's not already running.

Example:

image

(let's ignore the jumplist entries for now, and focus on the 1, 2, 3 for different profiles)

So, how would that work?

Something like wt summon --profile foo?

  • summon is the globalSummon action
  • --profile foo indicating "look for the nearest pane with the profile foo, and focus that"?
    • If the active pane is that profile, just focus the terminal window
    • If its not, is there a pane in this tab with that profile
    • if not, is there any pane in the window with that profile
    • if not, open a new tab for foo

Closely related to #10279

@zadjii-msft zadjii-msft added Product-Terminal The new Windows Terminal. Issue-Task It's a feature request, but it doesn't really need a major design. Area-Windowing Window frame, quake mode, tearout labels Jan 11, 2022
@zadjii-msft zadjii-msft added this to the Backlog milestone Jan 11, 2022
@ghost ghost added the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Jan 11, 2022
@DHowett
Copy link
Member

DHowett commented Jan 11, 2022

Conceptually, how much mileage would we get out of having tab names that are like window names?

You say, "give me tab raz_amd64" and it says "i brought the window to the front and focused the tab" or "i launched it according to your other arguments"

wt nt --id raz_amd64 -p Razzle - -p only applies if it must be created anew..? idk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Windowing Window frame, quake mode, tearout Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

2 participants