Feature 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)".
Feature 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 WORKINGThen you could configure something like
"set_title": falseor"set_title": "[%s] %n (%m)".