Skip to content
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

iTerm2 does not set fish_title correctly for tabs #47

Closed
ridiculousfish opened this issue Jun 6, 2012 · 2 comments
Closed

iTerm2 does not set fish_title correctly for tabs #47

ridiculousfish opened this issue Jun 6, 2012 · 2 comments
Milestone

Comments

@ridiculousfish
Copy link
Member

fish_title applies correctly to the window title, but not the tab title. This is due to this code in reader.cpp:

writestr( L"\x1b]2;" );

2: Window title
1: Tab title
0: Both window and tab title

I think removing the 2 is equivalent to setting it to 0, so that's probably what we ought to do.

@rdeits
Copy link
Contributor

rdeits commented Jun 7, 2012

Confirmed--removing the 2 causes both the window and tab titles to be set. I've created a pull request: https://github.com/ridiculousfish/fishfish/pull/58

Thanks for your help!

@ridiculousfish
Copy link
Member Author

#58 was merged.
Thanks for this report.

ridiculousfish pushed a commit that referenced this issue Jun 21, 2012
	* Seems that writestr( L"\x1b];" ); doesn't work in tmux and
	  screen. As discussed in #47 the 2 was
	  removed. This commit adds the zero (L"\x1b]0;").
	* Tested in screen,tmux,iTerm and xterm.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants