microsoft / microsoft/terminal

PowerShell "upgrade now" hyperlink not automatically detected

Open
#18,594 2 comments 0 reactions 0 assignees View on GitHub
Area-Interaction Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### 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

Contributor guide

Open the contributing guide

Research direction

Start in the linked src/cascadia/TerminalCore/Terminal.cpp location and inspect the hyperlink-detection regex. Reproduce the outdated PowerShell message in a PowerShell tab, then verify that the “upgrade now” hyperlink is detected and can be clicked.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.