Incorrect handling of window title sequence
By kg4... on January 11, 2014 22:11 (imported from Google Code)
Summary:
When a terminal program sends the "\033]0;title\007" sequence to set the window's title, if the requested title happens to exactly match the profile name, the tab and window title become "Shell" instead of the desired title.
Steps to reproduce:
-
Open a new tab or window. Note the name of the profile used to open the window (i.e. "Default".)
-
In the shell, enter the following command, substituting the profile name for "Default" if needed.
printf '\033]0;%s\007' "Default" ; sleep 5
-
Press ENTER. Watch the window title.
Expected results:
The window's title changes to "Default" (or whatever the profile name happens to be.)
Observed results:
The window's title changes to "Shell".
Using iTerm2 build 1.0.0.20131622 (latest version available through auto-update mechanism) on OS X 10.9.1.