Skip to content

fix(tui): enable negotiated tmux hyperlinks - #876

Open
rbalachandar wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
rbalachandar:fix/tmux-hyperlinks
Open

fix(tui): enable negotiated tmux hyperlinks#876
rbalachandar wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
rbalachandar:fix/tmux-hyperlinks

Conversation

@rbalachandar

@rbalachandar rbalachandar commented Aug 7, 2026

Copy link
Copy Markdown

Fixes #686.

Summary

  • Detect tmux's negotiated hyperlinks feature via tmux display-message.
  • Enable OSC 8 links only when tmux explicitly advertises support.
  • Keep terminal images disabled under tmux and hyperlinks disabled under screen.
  • Fall back safely when tmux is missing, fails, or exceeds the 250 ms probe timeout.

Tests

  • Focused terminal capability tests: 47/47.
  • Full TUI test suite: 742/742.
  • npm run check passes, including TypeScript, installer, and browser smoke checks.
  • Manual tmux verification confirmed clickable OSC 8 output.
image

zhengr pushed a commit to zhengr/prime-agent that referenced this pull request Aug 8, 2026
…rimeIntellect-ai#876)

* ⏺ feat(tui): show session name in terminal title and footer

- Add updateTerminalTitle() method that sets terminal title to
"π - session-name - dirname" (or "π - dirname" if no name)
- Update title when session name changes via /name or extension API
- Display session name in footer after git branch with bullet separator

* chore: update CHANGELOG
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.

Allow OSC 8 hyperlinks in supported tmux sessions

1 participant