-
-
Notifications
You must be signed in to change notification settings - Fork 900
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
Feature request: custom webpage title #133
Comments
I'm not going to add this, because you can always change title with shell script, for example:
The string |
But how to set the title, not to make it even longer? And this doesn't seem to work inside a tmux session... Is there a client option for this? |
Currently, the default title is always appended to the page title, I'm considering remove it when the terminal title is customized so that the page title will be on your control. Again, there won't be an option to change the default title, because it may confuse people that the title may be changed later by a terminal program. |
OK, thanks for your explanation. 👍 |
Sorry to bother again... I totally agree that the title shouldn't be changed from the executed command (e.g. a bash session), but it's not what I proposed. Isn't it better if the title can be controlled by ttyd tmux new -A -s demo # case 1
ttyd -t title=demo tmux new -A -s demo # case 2 In case 1, the webpage title is a verbose In case 2, with an added client option or something, the webpage title is a succinct The point is, what you execute is largely a detail; what you mean makes the title line. |
Well, I agree it is not flexible here, I will check how it behaves on other terminal applications.
|
Because I will use the ttyd to open multiple servers at the same time, I want to be able to customize the title like gotty, so I can distinguish which server is from the title. What should I do? |
Any Updates on this PR? |
Still looking for this update |
Added support on master, usage: ttyd -t titleFixed=hello bash |
It seems that ttyd always sets the webpage title to the full terminal command. It's distracting if the command is long, and sometimes reveals too much detail. Could we have an option to use a custom title like "demo"?
Invoking a "demo" script to hide the detail is an easy workaround, but doesn't feel as natural. Thanks for your great work.
The text was updated successfully, but these errors were encountered: