Closed
Conversation
Parse OSC 8 hyperlinks from terminal applications and auto-detect http/https URLs in terminal output. Hyperlinks are underlined and can be opened with Cmd+click (opens in system browser). - Store hyperlink definitions and associate cells with hyperlink IDs - Auto-scan rows for http:// and https:// URLs - Show pointer cursor when hovering hyperlinks with Cmd held - Add pty:get_hyperlink_at() Lua API for scripts
8300067 to
d0e087b
Compare
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.
add hyperlink support with urls auto http/https detection.
feature in action
hyperlink-demo.mp4
Note: you can see there is a bug where the urls display as black at first and get their white color upon selection. This has been a bug i have been hunting but couldnt figure out where its coming from. I just wanted to open this PR so it can serve as a building block for the feature. Thanks!
Edit: This issue might be specific to my .bashrc content. since its working good when i am in a pure bash shell with out any config.
as always implementation started with this conversation in amp: https://ampcode.com/threads/T-019bb89d-b5ff-740e-a9a4-ebed3c85b14e