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
[FEATURE]: Add an option to set the terminal window title #4539
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
At least when using a terminal in Linux, the title can be set using some escape characters, like printf '\033]0;The title\007'.
When having multiple terminals with multiple running instances of OpenCode, it is sometimes hard to identify one instance.
It would be nice if OpenCode could set the window title to, for example, the session name.
In an ideal world, one could even use some sort of template, for example some placeholders could be:
%n: Session name
%m: Current model being used
%a: Current agent running, if any
%s: Status: IDLE or WORKING
Then you could configure something like "set_title": false or "set_title": "[%s] %n (%m)".
Reacted by Todd Knutson, Tony Bowden, Eugene bogorad, Eric Schmid, Liam McDermott, Preston Van Loon, Vladimir, Alexander Tkachev, Meisterlala and jc01rho
Was this somehow implemented? I see my terminal window title being updated in recent releases. I get a title like OC | <session title>. And in the commands window, I see under "System" the option to "Disable terminal title".
Activity
rekram1-node commentedon Nov 21, 2025
You could do this via plugin btw
llucax commentedon Nov 21, 2025
Oh, interesting, I guess I have to look at how plugins work.
bogorad commentedon Feb 11, 2026
can't find anything in the plugins spec to do it.
llucax commentedon Feb 12, 2026
Was this somehow implemented? I see my terminal window title being updated in recent releases. I get a title like
OC | <session title>. And in the commands window, I see under "System" the option to "Disable terminal title".bogorad commentedon Feb 12, 2026
nope, we discussed it on discord.
llucax commentedon Feb 12, 2026
OK, I'm really confused now. Searching the code I even find mentions to this feature.
llucax commentedon Feb 12, 2026
Or maybe you are only referring to customizing the title?
bogorad commentedon Feb 12, 2026
I was referring to title customization, yes.
and
feat(tui): add configurable terminal title with status indicator
github-actions commentedon Apr 14, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.