-
Notifications
You must be signed in to change notification settings - Fork 231
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
Reset icon name and window title when leaving shell #1319
Comments
Thank you for the report. We have to check if mock runs in the terminal first, right? To avoid unwanted output on possibly-parsed stdout. |
There ought to exist a check that prevents mock from setting the title when it's inappropriate, right? The same condition should apply for resetting the title ... |
Have you already checked that this is done by mock? |
The window title mock uses by default is I'm only running into this issue on systems that don't set the window title themselves. A command like |
When entering the mock shell, mock sets the terminal icon name and window title to "", or whatever else the configuration file says.
That icon name and window title isn't reset when leaving the shell, so the title will stay the same until something else resets it.
When leaving the shell, mock should do
printf "\033]0;\007"
to reset the terminal icon name and window title.The text was updated successfully, but these errors were encountered: