Skip to content

Window title does not reset to "k9s" after exec'ing into a pod #3336

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

Open
geekosphere-net opened this issue May 9, 2025 · 0 comments
Open

Comments

@geekosphere-net
Copy link




Describe the bug
After exec'ing into a pod that uses the window title to display user/host/directory the window title retains the last value after exiting from the shell.

To Reproduce
Steps to reproduce the behavior:

  1. Observe the current windows title (should be "k9s")
  2. Exec into a pod using the s short cut
  3. if the pod does not set the window title execute the following echo -ne '\033]0;sometext\007'
  4. observe that the window title changes to "sometext"
  5. exit the shell
  6. observe that the window title is still "sometext" and not "k9s"

Historical Documents
n/a

Expected behavior
I would expect that the window title reverts to "k9s"

Screenshots
Image
Image
Image

Versions (please complete the following information):

  • OS: Windows 11 WSL2 running Ubuntu 22.04.3 LTS using the new Windows Terminal
  • K9s: v0.50.4
  • K8s: v1.31.7-eks-bcf3d70

Additional context
Not really a bug, as not all pods do this, but it is annoying when it happens.

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

1 participant