mirror of
https://github.com/microsoft/terminal.git
synced 2026-07-08 18:16:28 +00:00
Add support for autodetecting URLs and making hyperlinks (#7691)
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
This commit is contained in:
@@ -91,6 +91,9 @@
|
||||
// {fmt}, a C++20-compatible formatting library
|
||||
#include <fmt/format.h>
|
||||
|
||||
#define USE_INTERVAL_TREE_NAMESPACE
|
||||
#include <IntervalTree.h>
|
||||
|
||||
// SAL
|
||||
#include <sal.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user