opencode
opencode copied to clipboard
feat(tui): add dynamic terminal window title
Summary
- Update terminal window title reactively based on current route and session state
- Show
opencodeon 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.