Currently running application in tab title #8953

Closed
opened 2026-01-31 01:42:18 +00:00 by claunia · 2 comments
Owner

Originally created by @Lozzy0603 on GitHub (Jun 10, 2020).

Please could PowerShell display the title or command line of the currently running program in the tab title?
Currently each PowerShell tab just displays PowerShell, cmd displays the title of the currently running command eg cmd - ping.
Thanks!

Description of the new feature/enhancement

Proposed technical implementation details (optional)

Originally created by @Lozzy0603 on GitHub (Jun 10, 2020). Please could PowerShell display the title or command line of the currently running program in the tab title? Currently each PowerShell tab just displays PowerShell, cmd displays the title of the currently running command eg cmd - ping. Thanks! <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 <!-- 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). --> # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. -->
Author
Owner

@zadjii-msft commented on GitHub (Jun 10, 2020):

This is probably a request that's better suited for the https://github.com/powershell/powershell repo. cmd.exe is the application that's actually responsible for setting the title when running in Command Prompt tabs. Similarly, powershell.exe would need to be configured to change the title when it launches child processes. I'm sure there's some way to do that with your powershell profile.ps1, but I'm not really a PowerShell expert unfortunately.

The folks on https://github.com/powershell/powershell might be able to help more though.

@zadjii-msft commented on GitHub (Jun 10, 2020): This is probably a request that's better suited for the https://github.com/powershell/powershell repo. `cmd.exe` is the application that's actually responsible for setting the title when running in Command Prompt tabs. Similarly, `powershell.exe` would need to be configured to change the title when it launches child processes. I'm sure there's _some_ way to do that with your powershell `profile.ps1`, but I'm not really a PowerShell expert unfortunately. The folks on https://github.com/powershell/powershell might be able to help more though.
Author
Owner

@ghost commented on GitHub (Jun 14, 2020):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Jun 14, 2020): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8953