TerminalHyperlinkResolver

Resolves primitive render-frame hyperlink ids to their OSC 8 target URI.

Render frames deliberately expose only integer ids in the cell plane so UI render loops can stay allocation-free. Session-level consumers may call this resolver from user input paths, such as Ctrl-click hit testing, where looking up host metadata is not part of frame painting.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun uriForHyperlinkId(hyperlinkId: Int): String?

Returns the target URI for hyperlinkId, or null when the id is zero, unknown, evicted by host policy, or otherwise not activatable.