wt nt --title ... allows tab titles to be modified by external apps #19153

Closed
opened 2026-01-31 06:35:15 +00:00 by claunia · 1 comment
Owner

Originally created by @brupelo on GitHub (Dec 29, 2022).

Windows Terminal version

1.15.3465.0

Windows build number

Microsoft Windows [Version 10.0.19045.2364]

Other Software

No response

Steps to reproduce

  • Create a vite app in d:\foo\vite-project and install its dependencies
  • Create a new tab that uses the "Command Prompt" profile and run this command wt nt --title="Please don't change my name" --startingDirectory=d:\foo\vite-project
  • Run the vite app using npm run dev

Expected Behavior

Before running the app my terminal would look like this

image

I would expect after running any external app (ie: any web/app server) the tab title would remain the same

Actual Behavior

When i run npm run dev my tab title will look like this

image

I've seen this behaviour happening with other servers.

Funny thing is... If I rename the tab manuallly
image

the tab title seems to become "static". Maybe the --title parameter is not setting properly whatever needs to set?

Originally created by @brupelo on GitHub (Dec 29, 2022). ### Windows Terminal version 1.15.3465.0 ### Windows build number Microsoft Windows [Version 10.0.19045.2364] ### Other Software _No response_ ### Steps to reproduce - Create a [vite app](https://vitejs.dev/guide/) in d:\foo\vite-project and install its dependencies - Create a new tab that uses the "Command Prompt" profile and run this command `wt nt --title="Please don't change my name" --startingDirectory=d:\foo\vite-project` - Run the vite app using `npm run dev` ### Expected Behavior Before running the app my terminal would look like this ![image](https://user-images.githubusercontent.com/18058492/209932856-29b97434-ddf1-48d3-a46f-8fe716dea291.png) I would expect after running any external app (ie: any web/app server) the tab title would remain the same ### Actual Behavior When i run `npm run dev` my tab title will look like this ![image](https://user-images.githubusercontent.com/18058492/209932903-08584fd5-727b-4c38-aa35-048ed05d911b.png) I've seen this behaviour happening with other servers. Funny thing is... If I rename the tab manuallly ![image](https://user-images.githubusercontent.com/18058492/209933135-3a964a5b-826b-4d07-a3aa-869cbb22dece.png) the tab title seems to become "static". Maybe the `--title` parameter is not setting properly whatever needs to set?
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 06:35:15 +00:00
Author
Owner

@brupelo commented on GitHub (Dec 31, 2022):

False bug report, there is already an advanced feature to prevent the described behaviour

Defaults\Advanced\Supress title changes

@brupelo commented on GitHub (Dec 31, 2022): False bug report, there is already an advanced feature to prevent the described behaviour Defaults\Advanced\Supress title changes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19153