allow setting window title via command line option #23244

Open
opened 2026-01-31 08:36:31 +00:00 by claunia · 0 comments
Owner

Originally created by @Guest0x0 on GitHub (May 10, 2025).

Description of the new feature

I mean window title here, not tab title, which is already supported.

Programs like AutoHotKey and komorebi rely on window properties such as window title and window class to identify windows. Unfortunately, all wt windows have the same title (Terminal) and class CASCADIA_HOSTING_WINDOW_CLASS, so there is no way to classify different wt windows (e.g. quake mode window v.s. normal window).

If wt has a command line option that sets the window title to a user specified value, users can classify different wt windows by manually specifying the title when launching wt.

Proposed technical implementation details

Add a command line option --window-title. Any window created by wt --window-title <text> will have <text> as window title.

open question: if an existing window is picked, should we modify the title of that existing window?

Originally created by @Guest0x0 on GitHub (May 10, 2025). ### Description of the new feature I mean *window title* here, not *tab title*, which is already supported. Programs like AutoHotKey and [komorebi](https://github.com/LGUG2Z/komorebi/issues/73) rely on window properties such as window title and window class to identify windows. Unfortunately, all wt windows have the same title (`Terminal`) and class `CASCADIA_HOSTING_WINDOW_CLASS`, so there is no way to classify different `wt` windows (e.g. quake mode window v.s. normal window). If wt has a command line option that sets the window title to a user specified value, users can classify different wt windows by manually specifying the title when launching `wt`. ### Proposed technical implementation details Add a command line option `--window-title`. Any window created by `wt --window-title <text>` will have `<text>` as window title. open question: if an existing window is picked, should we modify the title of that existing window?
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 08:36:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23244