OSC 2; STR \a doesn't update tab title.
By shab... on April 23, 2011 09:55 (imported from Google Code)
What steps will reproduce the problem?
- echo -e '\e]2;HELLO\a'
What is the expected output? What do you see instead?
Tab title should be updated to contain the string "HELLO"
What version of the product are you using? On what operating system?
OSX 1.5.8, reported against svn r791
Please provide any additional information below.
Attached is a patch (generated from a personal git-svn repo, so it might need a bit of twiddling to apply, probably "patch -p0 < X.patch"
Hopefully this is the correct solution. It seems to be the exact same code for \e]1; and \e]0, one of which should set both icon and title, the other icon only (afaik). (Although OSC;2 has some additional code for "logWorkingDirectoryAtLine", which I don't really understand).