-
-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting window-title per tab #6154
Comments
Hello Syntaxhel, you can look at the following link , you can find inspiration for your case there and i think someone has implemented what u are looking for there. |
Hello @Syntaxheld , if the my comment helped you resolve your issue then close the issue so the maintainer can work on adding more to this great terminal emulator. |
Hi @brushy501. I have looked at different configs that are posted under the link you provided. As far as I could tell, none solved the issue directly. Some relevant ideas, but as I had already posted, I know that for now using As I see it, the ticket is still a potential enhancement request for having something like a "window title is unique per tab VS per window" setting (or for telling me I'm using the feature incorrectly, or saying it won't get implemented). P.S.: I agree, great terminal emulator & thanks for all the hard work, Wez! |
@Syntaxheld 👍, hopefully there is a way to get the functionality you want. I'm out of ideas. 😁 |
Is your feature request related to a problem? Please describe.
Previously in iTerm (and Terminal.app) I have been using the tab title (set via
ESC]1;tabBEL
) to identify a tab using a short identfier (e.g. ssh machine name, project name, ...) and have used the window title (set viaESC]2;stringBEL
) to have more detailed information (e.g. current working directory, user, ...) for that specific tab. This works because window titles in these apps are specific to each tab, meaning that switching tabs shows a different window title for each tab.However on WezTerm it seems that setting the window title this way (or even using
wezterm cli set-window-title
) sets the window title for all tabs in a given window. Meaning that switching to a new tab just shows the same title each time.Describe the solution you'd like
A way to have unique window titles per tab.
Describe alternatives you've considered
The only other option I see right now to get the behaviour I want seems to be to use the
SetUserVar
custom terminal escape extension, and override theformat-window-title
event to use the user variable.Other comments
It might be that I am using a wrong terminal escape sequence or some other issue ... but
wezterm cli list --format json | jq '.[] | { title: .title , tab: .tab_title , window : .window_title }'
does seem to confirm that changing the window title does change it for all tabs.The text was updated successfully, but these errors were encountered: