Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #10: ANSI encoded hyperlinks for printbox-text #41

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

lukstafi
Copy link
Contributor

Propagate the link until text nodes, and then add the ANSI escape codes as specified here. Note that the codes are somewhat unusual -- example from that page: printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'.

Inner links override outer links -- this preserves as much information / optionality as possible for the user.

@c-cube c-cube merged commit d650a60 into c-cube:main Feb 21, 2024
3 checks passed
@c-cube
Copy link
Owner

c-cube commented Feb 21, 2024

Very nice, thank you!

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.

2 participants