[PR #5112] feat(tui): add dynamic terminal window title #11248

Closed
opened 2026-02-16 18:16:03 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5112

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5112 **State:** closed **Merged:** Yes --- ## 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.
yindo added the pull-request label 2026-02-16 18:16:03 -05:00
yindo closed this issue 2026-02-16 18:16:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11248