Skip to content

Conversation

@aryasaatvik
Copy link
Contributor

@aryasaatvik aryasaatvik commented Dec 5, 2025

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
Contributor Author

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

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.

1 participant