pub fn create_hyperlink(
url: &str,
content: Option<&str>,
supports_hyperlinks: Option<bool>,
) -> StringExpand description
Create a clickable hyperlink using OSC 8 escape sequences. Falls back to plain text if the terminal doesn’t support hyperlinks.
§Arguments
url- The URL to link tocontent- Optional content to display as the link textsupports_hyperlinks- Optional override for testing
§Returns
The hyperlink string or plain URL if hyperlinks not supported