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

Title won't change with cd after setting it with set-tab-title #5583

Closed
mfirhas opened this issue Jun 19, 2024 · 3 comments
Closed

Title won't change with cd after setting it with set-tab-title #5583

mfirhas opened this issue Jun 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@mfirhas
Copy link

mfirhas commented Jun 19, 2024

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

Im not sure if it's actually a bug, or expected.

When I set tab's title with set-tab-title, and then cd to somewhere else, the title won't change.

To Reproduce

  • Set title with wezterm cli set-tab-title anything
  • cd (another-path)

Configuration

no config

Expected Behavior

I expect the default behavior where it gives at least last 13 chars of title.

Logs

No response

Anything else?

No response

@mfirhas mfirhas added the bug Something isn't working label Jun 19, 2024
@TomByte
Copy link

TomByte commented Jun 24, 2024

I think this is intended behaviour. Same as how other terminal emulators do it.

@wez
Copy link
Owner

wez commented Jul 13, 2024

This is the intended behavior. You need to pick either setting the title manually or using escape sequences. If you have more complex logic than this, you can use the various title related events to format and display what you need.

@wez wez closed this as completed Jul 13, 2024
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants