Description
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?