hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Hyperlinks at the end of a sentence erroneously include the period

Open jaraco opened this issue 5 years ago • 3 comments

I'm using the Azure CLI, and one of the help outputs had this text:

jaraco.functools master $ az devops service-endpoint github create --help

Command
    az devops service-endpoint github create : Create a GitHub service endpoint.
        For automation, set GitHub PAT token in AZURE_DEVOPS_EXT_GITHUB_PAT environment variable.
        You can learn more about this at https://aka.ms/azure-devops-cli-service-endpoint.

If I try to click on that URL, it is highlighted, but it doesn't work because the . is included in the URL. Many other systems like Slack are able to detect hyperlinks like these without including extraneous trailing characters. It would be nice if Hyper could do the same.

jaraco avatar Apr 01 '20 23:04 jaraco

The weblinks functionality comes from xterm itself, I think you should report it there instead. Though I guess it might be difficult as . is a valid character in urls.

LabhanshAgrawal avatar Apr 02 '20 06:04 LabhanshAgrawal

I've observed that it's not just the period, but any punctuation, including >, ), and probably others.

image

jaraco avatar Dec 06 '23 18:12 jaraco

The upstream bug has been fixed (ref). What will it take to get this fix integrated into Hyper?

jaraco avatar Dec 06 '23 18:12 jaraco