URL Patterns

Implicit Detection

ori-term scans terminal output for URLs and turns them into clickable links. Detection covers the four schemes the parser ships today:

Trailing punctuation (. , ; : ! ? )) is trimmed from the match so a URL at the end of a sentence works without selecting the period.

Hold Ctrl over a detected URL to underline it. Ctrl+Click opens it in your default browser.

OSC 8 Hyperlinks

Applications can emit explicit hyperlinks using the OSC 8 escape sequence. These render as clickable links without regex detection. Examples of CLI tools that emit OSC 8:

OSC 8 link targets follow the same modifier-click semantics as detected URLs.

Planned

Custom [[url_patterns]] blocks — user-defined regex matchers with capture-group URL templates and configurable actions (open / copy / select) — are on the roadmap and not yet wired through the config loader. Other planned scheme additions: file paths, IP addresses, git commit hashes, and email addresses. Track on the roadmap.