The title shows the path, not the name or command #11642

Closed
opened 2026-01-31 02:53:29 +00:00 by claunia · 2 comments
Owner

Originally created by @whwnow on GitHub (Dec 1, 2020).

Description of the new feature/enhancement

image
This makes it easy to find the tab when opening multiple tabs.

Originally created by @whwnow on GitHub (Dec 1, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement ![image](https://user-images.githubusercontent.com/1713701/100694778-b0f21e80-33ca-11eb-9183-ecec9af1d8e2.png) This makes it easy to find the tab when opening multiple tabs. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureNeeds-TriageResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 02:53:29 +00:00
Author
Owner

@skyline75489 commented on GitHub (Dec 1, 2020):

This is actually caused by npm according to https://github.com/microsoft/terminal/issues/2645#issuecomment-528874323 .

You're free to set the title to whatever you want using OSC 2. For example in WSL:

printf "\e]2;test\e\\"

Then the tab title will change accordingly:

image

If you want the tab title to magically become whatever the current running program is (in this case, webpack), that's not really possible right now.

@skyline75489 commented on GitHub (Dec 1, 2020): This is actually caused by npm according to https://github.com/microsoft/terminal/issues/2645#issuecomment-528874323 . You're free to set the title to whatever you want using OSC 2. For example in WSL: ```plaintext printf "\e]2;test\e\\" ``` Then the tab title will change accordingly: ![image](https://user-images.githubusercontent.com/4710575/100699857-07655a00-33d7-11eb-827f-7b76ea8d7967.png) If you want the tab title to magically become whatever the current running program is (in this case, webpack), that's not really possible right now.
Author
Owner

@zadjii-msft commented on GitHub (Dec 1, 2020):

Yep, the title is something that's set by the client application (in this case, npm). You should probably file a feature request on npm(?) or whoever is running that tool to change the title of the terminal to the running tool, not just "npm".

@zadjii-msft commented on GitHub (Dec 1, 2020): Yep, the title is something that's set by the client application (in this case, `npm`). You should probably file a feature request on npm(?) or whoever is running that tool to change the title of the terminal to the running tool, not just "npm".
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11642