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

Support hyperlink ansi escapes #2501

Closed
2 tasks done
sindresorhus opened this issue Nov 28, 2017 · 8 comments
Closed
2 tasks done

Support hyperlink ansi escapes #2501

sindresorhus opened this issue Nov 28, 2017 · 8 comments
Labels
💛 Priority: Medium Issue isn't of the highest priority but still important 🛠 Type: Feature Request Issue or PR is a feature request/proposal for Hyper

Comments

@sindresorhus
Copy link
Contributor

sindresorhus commented Nov 28, 2017

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Cross-posting from xterm.js for discovery. Hope that's ok.

Terminal emulators are starting to support hyperlinks. While many terminals have long detected URL's and linkified them, allowing you to Command-Click or Control-Click them to open a browser, you were forced to print the long unsightly URL's on the screen. As of spring 2017 a few terminals began supporting HTML like links, where the link text and destination could be specified separately.

Example from iTerm2 3.1:
screen shot 2017-11-28 at 12 08 20

xtermjs/xterm.js#1134

@jamestalmage
Copy link

If / when this is implemented, please submit an issue or PR to supports-hyperlinks, which is intended to detect support for this capability.

@Stanzilla Stanzilla added 🛠 Type: Feature Request Issue or PR is a feature request/proposal for Hyper 💛 Priority: Medium Issue isn't of the highest priority but still important labels Apr 23, 2018
@drewswaycool
Copy link

Any updates on this?

@Stanzilla
Copy link
Collaborator

We now use the xterm extension for hyperlinks

@sindresorhus
Copy link
Contributor Author

@Stanzilla Can you link to the relevant commit?

@Stanzilla
Copy link
Collaborator

@sindresorhus sure, here you go 2cc4c9e

@fengzilong
Copy link

fengzilong commented Oct 13, 2021

Is it really implemented or I configured Hyper wrongly? I found it doesn't work in my Hyper 3.x ( attach link to text by ansi escapes, and the output is not clickable even with cmd pressed )

Maybe we should reopen this issue?

@LabhanshAgrawal
Copy link
Collaborator

@fengzilong since it's not there in xterm.js yet, we also don't have it.

@fengzilong
Copy link

@fengzilong since it's not there in xterm.js yet, we also don't have it.

Got it, thank you for your instant reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💛 Priority: Medium Issue isn't of the highest priority but still important 🛠 Type: Feature Request Issue or PR is a feature request/proposal for Hyper
Projects
None yet
Development

No branches or pull requests

6 participants