Skip to content

feat(tui): add dynamic terminal window title#5112

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
aryasaatvik:feat/window-title
Dec 6, 2025
Merged

feat(tui): add dynamic terminal window title#5112
rekram1-node merged 1 commit into
anomalyco:devfrom
aryasaatvik:feat/window-title

Conversation

@aryasaatvik

@aryasaatvik aryasaatvik commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Update terminal window title reactively based on current route and session state
  • Show opencode on home screen or for sessions with default/new titles
  • Show oc | {title} for sessions with generated titles (truncated to 40 chars max)
  • Reset window title on exit to restore terminal defaults

Uses the public renderer.setTerminalTitle() API from OpenTUI.

Update terminal window title reactively based on current route and session:
- Show 'opencode' on home screen or for sessions with default titles
- Show 'oc | {title}' for sessions with generated titles (max 40 chars)
- Reset window title on exit to restore terminal defaults
@aryasaatvik

Copy link
Copy Markdown
Contributor Author

@rekram1-node can you take a look? simple change to support terminal window titles when using multiple tabs

@rekram1-node
rekram1-node merged commit 3ec34ee into anomalyco:dev Dec 6, 2025
3 checks passed
@rekram1-node

Copy link
Copy Markdown
Collaborator

nice

xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request Jun 14, 2026
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.

2 participants