Skip to content

HyperlinkData

Namespace: Hex1b

Assembly: Hex1b.dll

Immutable data containing OSC 8 hyperlink information.

csharp
public sealed class HyperlinkData

Inheritance

ObjectHyperlinkData

Properties

Parameters

Gets the optional parameters from the OSC 8 sequence (e.g., "id=xyz").

Returns: String

csharp
public string Parameters { get; }

Uri

Gets the URI of the hyperlink.

Returns: String

csharp
public string Uri { get; }

Remarks

Hyperlink data is content-addressable: identical URIs and parameters share the same instance. This deduplicates memory when the same hyperlink appears in multiple cells.

OSC 8 format: ESC ] 8 ; params ; URI ST where ST is either ESC \ or BEL (\x07)

Released under the MIT License.