Skip to content

[FEATURE]:Statusline should reflect current working directory when changed via cd #38456

Closed as not planned

Description

@jinghuayao

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Body:
In the TUI, the statusline displays the working directory, but it only shows the directory where opencode was launched. When using cd (via !cd

) to change the current working directory, the statusline is not updated to reflect the new path.
Steps to reproduce:

  1. Launch opencode in /some/project
  2. Run !cd ~/Downloads
  3. The statusline still shows /some/project instead of /Users/jinghuayao/Downloads
    Expected behavior:
    The statusline should update to show the current working directory after cd commands.
    Suggestion:
    Add an option in tui.json or the command palette to control whether the statusline updates dynamically. Additionally, it would be useful if the statusline path entry were clickable or customizable.

Activity

  1. github-actions commented on Sep 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions