microsoft / microsoft/terminal

Let terminal consumers provide click handlers and pattern recognizers for buffer text

Open
#6,969 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Output Area-WPFControl Issue-Feature Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Description of the new feature/enhancement

Terminal consumers have a need to provide their own handlers for clickable regions of text in the terminal. For example: In VS this could enable clicking on build errors and opening up a document to the line and column called out in the error.

Proposed technical implementation details (optional)

There needs to be two additions to the terminal in order to enable this:

  • Consumers of the terminal must be able to provide a pattern that will identify regions of clickable text
  • Consumers will provide a callback that is called with the clicked text as a parameter

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 how terminal consumers currently receive and handle text interaction, then identify the entry points for clickable regions and terminal input. Define how consumers provide a pattern and callback, and verify that clicking matched text passes the clicked text to the callback.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.