PowerShell "upgrade now" hyperlink not automatically detected #22943

Open
opened 2026-01-31 08:28:02 +00:00 by claunia · 2 comments
Owner

Originally created by @carlos-zamora on GitHub (Feb 19, 2025).

Windows Terminal version

No response

Windows build number

No response

Other Software

An outdated version of PowerShell

Steps to reproduce

  1. open a powershell tab
  2. See this:
    Image

Hover over the hyperlink

Expected Behavior

The hyperlink should be detected so we can click on it to open it

Actual Behavior

It's not. The regex we use is here:
13e7c9314d/src/cascadia/TerminalCore/Terminal.cpp (L1439-L1441)

Originally created by @carlos-zamora on GitHub (Feb 19, 2025). ### Windows Terminal version _No response_ ### Windows build number _No response_ ### Other Software An outdated version of PowerShell ### Steps to reproduce 1. open a powershell tab 2. See this: ![Image](https://github.com/user-attachments/assets/f1ff5b09-74b2-45d5-94e7-6d1867b572fe) Hover over the hyperlink ### Expected Behavior The hyperlink should be detected so we can click on it to open it ### Actual Behavior It's not. The regex we use is here: https://github.com/microsoft/terminal/blob/13e7c9314df5422679ff2bf2a78978cb66af9ace/src/cascadia/TerminalCore/Terminal.cpp#L1439-L1441
claunia added the Issue-BugArea-InteractionProduct-Terminal labels 2026-01-31 08:28:03 +00:00
Author
Owner

@DHowett commented on GitHub (Feb 19, 2025):

This works fine for me. I don't think it's a regex problem...

@DHowett commented on GitHub (Feb 19, 2025): This works fine for me. I don't think it's a regex problem...
Author
Owner

@carlos-zamora commented on GitHub (Feb 19, 2025):

Currently, we scan for URLs on an interval. Perhaps we should scan for URLs on hover instead.

Related: https://github.com/microsoft/terminal/issues/18177#issuecomment-2489666630

@carlos-zamora commented on GitHub (Feb 19, 2025): Currently, we scan for URLs on an interval. Perhaps we should scan for URLs on hover instead. Related: https://github.com/microsoft/terminal/issues/18177#issuecomment-2489666630
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22943