You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI: add /rename command to set or change a session title #19412
Add a /rename slash command (or equivalent) to the TUI that allows setting or changing the title of the current session interactively.
Motivation
Currently, session titles can only be set at creation time via the --title flag on opencode run. There is no way to title or rename a session from within the TUI. When listing sessions (/sessions), a title field is shown, but there is no way to populate or change it interactively.
Proposed solution
Add a /rename slash command (with a corresponding keybind, e.g. ctrl+x R) that prompts the user for a new title and updates the current session's title.
Example usage
/rename Fix auth bug in submission portal
Alternatives considered
Using opencode run --title at session start — works, but requires knowing the title upfront and only applies to non-interactive use
No workaround exists for renaming a session after it has started in the TUI
Activity
github-actions commentedon Mar 27, 2026
This issue might be a duplicate of existing issues. Please check:
For keybind-related issues (your proposed
ctrl+x Rshortcut), please also check our pinned keybinds documentation: #4997gypsydave5 commentedon Mar 27, 2026
Ugh - colour me stupid. Just found the slash command. Box of shame time.