Skip to content

feat(tui): show busy/idle progress indicator in terminal title#36297

Open
smrk007 wants to merge 2 commits into
anomalyco:devfrom
smrk007:feat/tui-terminal-title-status
Open

feat(tui): show busy/idle progress indicator in terminal title#36297
smrk007 wants to merge 2 commits into
anomalyco:devfrom
smrk007:feat/tui-terminal-title-status

Conversation

@smrk007

@smrk007 smrk007 commented Jul 10, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #36294

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

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

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sean Kennedy and others added 2 commits July 10, 2026 13:36
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Display a busy/idle progress indicator in TUI title

1 participant