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]: Terminal title (OSC 0/2) should distinguish waiting for user input (question/permission) vs active work #48482
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Context & Gap
Existing proposals (#36294, #43904) discuss exposing working vs. idle status in the terminal window/tab title (OSC 0/2) via a spinner or glyph. Additionally, PR #45347 recently enhanced internal session tabs with status indicators (? for questions, ! for permissions).
However, the external OS terminal window/tab title (OSC 0/2) still has a critical blind spot: it does not distinguish between:
The agent actively computing / executing tools in the background.
The agent being blocked and waiting for user input (specifically: interactive question tool prompts or permission approval requests).
Proposed Enhancement
When updating the terminal title via OSC 0/2:
Waiting for user input (pending question tool prompt or permission request): display an attention prefix such as [?] OC | <title> (or [?] / [!]).
Actively working: display a rotating spinner (e.g. ⠋ OC | <title>) or busy indicator.
Idle: standard title OC | <title>.
Why this matters
When managing multiple concurrent sessions across terminal tabs or multiplexers (e.g. tmux, Kitty, WezTerm, GNOME Terminal, Windows Terminal):
Seeing the spinner tells the user: "Agent is still busy, let it run."
Seeing [?] immediately alerts the user: "Agent is paused waiting for my answer, switch to this tab."
Without this distinction, a user looking at tab titles either has to switch into every tab to check if a question is blocking progress, or mistake a blocked session for an active one and leave it unattended.
Thanks for the request, @mattiacentonze! You're asking for the terminal window/tab title (OSC 0/2) to show three states: a spinner while the agent is working, a distinct marker such as [?] or [!] while it is waiting on a question or permission request, and the plain title when it is idle. That way a blocked session is easy to spot among several tabs.
It builds on #36294, which covers busy versus idle only. Your third "waiting for input" state is the new part. Maintainers will consider it.
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the request, @mattiacentonze! You're asking for the terminal window/tab title (OSC 0/2) to show three states: a spinner while the agent is working, a distinct marker such as
[?]or[!]while it is waiting on a question or permission request, and the plain title when it is idle. That way a blocked session is easy to spot among several tabs.It builds on #36294, which covers busy versus idle only. Your third "waiting for input" state is the new part. Maintainers will consider it.
Related issues and PRs:
?/!indicators you mentioned/sessionsshows a working spinner while waiting for an answer or permission