feat: show hover tooltip for OSC 8 and file path links#246
Merged
Conversation
Previously only plain-text URLs (via WebLinksAddon) showed the bottom-left hover tooltip. Now OSC 8 hyperlinks (e.g. GitHub owner/repo#issue refs emitted by CLI tools) and detected file paths also display the same Ghostty-style tooltip on hover. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
File path links in the terminal now require the same Cmd+click (Mac) / Ctrl+click (other) modifier as OSC 8 and web links, preventing accidental navigation when clicking terminal text. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stablyai/noqa#8547emitted by CLI tools) now show the bottom-left Ghostty-style hover tooltip, matching the existing behavior for plain-text URLslinkTooltipon the publicManagedPanetype so link handlers can access the shared tooltip elementTest plan
https://example.com) in terminal — tooltip should still appear (no regression)owner/repo#123reference from Claude Code) — tooltip should now appear at bottom-leftsrc/main.ts) — tooltip should appear showing the resolved absolute path🤖 Generated with Claude Code