Skip to content

allow setting window title via command line option #18890

Closed
@Guest0x0

Description

@Guest0x0

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Needs-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions