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

way to control the window-name #159

Open
kurktchiev opened this issue Dec 5, 2020 · 4 comments
Open

way to control the window-name #159

kurktchiev opened this issue Dec 5, 2020 · 4 comments

Comments

@kurktchiev
Copy link

Is it possible to control what #W gets set to? Right now the only thing I can see is potentially using -B to do something like echo -ne "\033k"$(hostname -s)"\033\\" but that feels icky

@greymd
Copy link
Owner

greymd commented Dec 11, 2020

There is no other way except by using -B for now.

xpanes tries to set the unique window name in the session due to historical reason.
Because window-name was the only key to identify the window in tmux 1.6.

However, xpanes no longer supports tmux 1.6.
I understand it feels icky and It is good chance to change this behavior.

I don't know when I'll be able to do it, but I'll try to implement the feature to set provided window name in the future 👍

@kurktchiev
Copy link
Author

while you are thinking about this, it could also be said that it would be nice to have an option to target a specific window other than the current window to send xpanes to. i can open a separate issue on this though as well.

@greymd
Copy link
Owner

greymd commented Dec 17, 2020

Sounds interesting. plz create another issue.

@ScrumpyJack
Copy link

+1 for easier option to set the window-name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants