microsoft / microsoft/terminal

Copy link URL from OSC 8 hyperlinks

Open
#20,698 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature Needs-Tag-Fix Needs-Triage
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Description of the new feature

It will be nice if we are able to copy the hyperlink URL in terminal. In this way we can check or search for information about the URL before open it and send a request

Proposed technical implementation details
  • ctrl + shift + click to copy OSC 8 hyperlink URL into clipboard
  • A contextmenu item "Copy link" for hyperlinks, like in web browsers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing OSC 8 hyperlink handling and the existing hyperlink interaction and clipboard entry points. Compare the proposed Ctrl+Shift+click behavior with the context-menu behavior; done means both ways copy the hyperlink URL without opening it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.