[Feature] Auto-detecting file URLs and make them clickable #13250

Closed
opened 2026-01-31 03:37:48 +00:00 by claunia · 3 comments
Owner

Originally created by @skyline75489 on GitHub (Mar 30, 2021).

Inspired by https://github.com/microsoft/terminal/issues/8166#issuecomment-724151089, we can also make the result of ls clickable if the CWD is provided. This is also possible in iTerm2. I'm not sure which sequence or technology it uses to detect the CWD, though. Anyway, with OSC9;9 recently added, this is also possible in WT.

Originally posted by @skyline75489 in https://github.com/microsoft/terminal/issues/7526#issuecomment-766674544

Originally created by @skyline75489 on GitHub (Mar 30, 2021). Inspired by https://github.com/microsoft/terminal/issues/8166#issuecomment-724151089, we can also make the result of `ls` clickable if the CWD is provided. This is also possible in iTerm2. I'm not sure which sequence or technology it uses to detect the CWD, though. Anyway, with OSC9;9 recently added, this is also possible in WT. _Originally posted by @skyline75489 in https://github.com/microsoft/terminal/issues/7526#issuecomment-766674544_
claunia added the Resolution-Duplicate label 2026-01-31 03:37:48 +00:00
Author
Owner

@skyline75489 commented on GitHub (Mar 30, 2021):

I think this is what I prefer over #9661. And there is precedent like iTerm2 who handles the file URL detection very well.

@skyline75489 commented on GitHub (Mar 30, 2021): I think this is what I prefer over #9661. And there is precedent like iTerm2 who handles the file URL detection very well.
Author
Owner

@zadjii-msft commented on GitHub (Apr 2, 2021):

You know, this sounds just like /dup #2671, so I'm just gonna move these comments there. Thanks though!

@zadjii-msft commented on GitHub (Apr 2, 2021): You know, this sounds just like /dup #2671, so I'm just gonna move these comments there. Thanks though!
Author
Owner

@ghost commented on GitHub (Apr 2, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 2, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13250