Skip to content

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

@ghost

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Area-WPFControlThings related to the WPF version of the TermControlIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions