feat(tui): show busy/idle progress indicator in terminal title#36297
Open
smrk007 wants to merge 2 commits into
Open
feat(tui): show busy/idle progress indicator in terminal title#36297smrk007 wants to merge 2 commits into
smrk007 wants to merge 2 commits into
Conversation
Add a status glyph to the terminal tab title driven by the session's
session_status: '*' when idle, and an animated middle dot that alternates
('· ' <-> ' ·') every 0.5s while the session is busy or retrying. Reuses
the existing title effect and status signal; respects the terminal.title
toggle command and OPENCODE_DISABLE_TERMINAL_TITLE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #36294
Type of change
What does this PR do?
Adds a status glyph to the terminal tab title to indicate whether the opencode agent is busy or idle.
This pulls from the session_status state to display '*' when idle, and an animated dot when the session is busy.
This reuses the existing title effect and status signal.
How did you verify your code works?
Locally tested my changes by running opencode and observing that the progress glyph changes based on the idle/busy status.
Screenshots / recordings
Screen.Recording.2026-07-10.at.1.48.19.PM.mov
Checklist