Method OSC_StartHyperlink
OSC_StartHyperlink(string, string?)
Starts a hyperlink using OSC 8 escape sequence.
public static string OSC_StartHyperlink(string url, string? id = null)
Parameters
urlstringThe URL to link to (e.g., "https://github.com").
idstringOptional hyperlink ID for matching start/end pairs. Use null for automatic matching.
Returns
- string
The OSC 8 start sequence.
Remarks
OSC 8 format: ESC ] 8 ; params ; URL ST Supported in Windows Terminal, iTerm2, and other modern terminals. Must be followed by visible text, then terminated with OSC_EndHyperlink().