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

set tabTitle in commandline #6183

Closed
dakom opened this issue May 25, 2020 · 2 comments · Fixed by #6296
Closed

set tabTitle in commandline #6183

dakom opened this issue May 25, 2020 · 2 comments · Fixed by #6296
Labels
Area-Commandline wt.exe's commandline arguments Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.
Milestone

Comments

@dakom
Copy link

dakom commented May 25, 2020

The documentation states that a constant static title can be achieved, regardless of shell, by setting the tabTitle and suppressApplicationTitle settings in the profile blocks.

If tabTitle could be set as a commandline argument, then together with suppressApplicationTitle in the settings we could do something like this in a open-workspace.bat

@echo off
start /b wt.exe new-tab -d .\frontend --title "Frontend" ; new-tab -d .\backend --title "Backend"; new-tab -d .\types --title "Shared Types"

This would allow creating something like a workspace with nicely named tabs :)

I'm not sure what the short name should be since -t has meaning in other commands. Though since there's no conflict with new-tab I guess it's okay?

@dakom dakom added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label May 25, 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 May 25, 2020
@zadjii-msft
Copy link
Member

Oh huh, this is tracked in #4632, but looks like it never got it's own issue. Congratulations, this is now that issue.

@zadjii-msft zadjii-msft added Area-Commandline wt.exe's commandline arguments Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels May 26, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label May 26, 2020
@zadjii-msft zadjii-msft added this to the Terminal v2.0 milestone May 26, 2020
@zadjii-msft zadjii-msft removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label May 27, 2020
@ghost ghost added the In-PR This issue has a related PR label Jun 1, 2020
@ghost ghost closed this as completed in #6296 Jun 2, 2020
ghost pushed a commit that referenced this issue Jun 2, 2020
## Summary of the Pull Request

Adds support for setting the terminal `title` with the commandline argument `--title <title>`.

## PR Checklist
* [x] Closes #6183
* [x] I work here
* [ ] Tests added/passed
* [ ] Requires documentation to be updated - probably does, yea

## Detailed Description of the Pull Request / Additional comments

* I wasn't sure how we felt about `-t` being the short version of this argument, so I left it out. If we're cool with that, adding it wouldn't be hard.

## Validation Steps Performed

![image](https://user-images.githubusercontent.com/18356694/83450866-afe03480-a41b-11ea-84e7-9134474fdd7a.png)
@ghost ghost added Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed In-PR This issue has a related PR labels Jun 2, 2020
@ghost
Copy link

ghost commented Jun 18, 2020

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

Handy links:

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Commandline wt.exe's commandline arguments Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants