microsoft / microsoft/terminal
Let terminal consumers provide click handlers and pattern recognizers for buffer text
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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