window title doesn't appear correctly
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.0.5
- OS version: 10.10.5
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window) com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog debuglog.txt
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
The Bug: you can't set the window title bar to the same thing as the profile name.
Detailed steps to reproduce:
- Create a new profile, call it "mytestprofile".
- Open a new window with the profile "mytestprofile".
- Try to set the window title bar to "mytestprofile" (i.e., issue the command
echo -en "\033]0;mytestprofile\a"
). - Observe that the window title is blank (i.e., only shows the window number and process info: "3. bash").
- Try to set the window title bar to "anythingelse" (i.e., issue the command
echo -en "\033]0;anythingelse\a"
). - Observe that the window title is correctly set (i.e., shows "3. anythingelse (bash)").
What should happen: When I set the window's title bar text to something, it should be displayed, no matter what the profile name is.
What happens instead: When I set the window's title bar text to the same text as the profile name, it is not displayed.
NOTE: it is definitely case sensitive... in my example above, if I set the title bar text to "MyTestProfile", then it will display it just fine. It only fails to display if it is exactly the same as the profile name.