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 local hyperlink ansi escapes in the integrated terminal #242371

Open
lhwdev opened this issue Mar 1, 2025 · 0 comments
Open

Support local hyperlink ansi escapes in the integrated terminal #242371

lhwdev opened this issue Mar 1, 2025 · 0 comments
Assignees

Comments

@lhwdev
Copy link

lhwdev commented Mar 1, 2025

In #39278, working OSC hyperlinks support for integrated terminal is added. But, it seems to only support http or https link.
Currently, it highlights the link with url file:///..., but do nothing on Ctrl+Click.

Image

This behavior seems to be related with code below:

this._openers.get(TerminalBuiltinLinkType.Url)?.open({
type: TerminalBuiltinLinkType.Url,
text,
bufferRange: null!,
uri: URI.parse(text)
});

Integrated terminal already detects and links text like file:///..., so I think no security concern is related to this.

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

No branches or pull requests

2 participants