[PR #7691] Add support for autodetecting URLs and making hyperlinks #26969

Open
opened 2026-01-31 09:19:11 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/7691

State: closed
Merged: Yes


This pull request is the initial implementation of hyperlink auto
detection

Overall design:

  • Upon startup, TerminalCore gives the TextBuffer some patterns it
    should know about
  • Whenever something in the viewport changes (i.e. text
    output/scrolling), TerminalControl tells TerminalCore (through a
    throttled function for performance) to retrieve the visible pattern
    locations from the TextBuffer
  • When the renderer encounters a region that is associated with a
    pattern, it paints that region differently

References #5001
Closes #574

**Original Pull Request:** https://github.com/microsoft/terminal/pull/7691 **State:** closed **Merged:** Yes --- This pull request is the initial implementation of hyperlink auto detection Overall design: - Upon startup, TerminalCore gives the TextBuffer some patterns it should know about - Whenever something in the viewport changes (i.e. text output/scrolling), TerminalControl tells TerminalCore (through a throttled function for performance) to retrieve the visible pattern locations from the TextBuffer - When the renderer encounters a region that is associated with a pattern, it paints that region differently References #5001 Closes #574
claunia added the pull-request label 2026-01-31 09:19:11 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26969