KetraTerm
API · DevelopmentAll versions

SwingTerminalContextHyperlink

Hyperlink context available to a terminal context menu.

The target and action are captured when the menu is requested. Later output, scrolling, eviction, or rebinding cannot change the menu's destination.

Properties

Link copied to clipboard

Captured host action metadata; opaque to shared UI.

Link copied to clipboard
val uri: String?

complete OSC 8 or host-discovered URI when available. Navigation actions without a copyable URI expose only open and leave this value null.

Functions

Link copied to clipboard

Copies uri to the host clipboard when a resolved URI is available.

Link copied to clipboard
fun open(): Boolean

Opens the hyperlink target.