check_hyperlink_at


Description:

[ Version ( since = "0.70" ) ]
public string? check_hyperlink_at (double x, double y)

Returns a nonempty string: the target of the explicit hyperlink (printed using the OSC 8 escape sequence) at the position (x, y), or null.

Proper use of the escape sequence should result in URI-encoded URIs with a proper scheme like "http://", "https://", "file://", "mailto:" etc. This is, however, not enforced by VTE. The caller must tolerate the returned string potentially not being a valid URI.

Parameters:

this

a Terminal

Returns:

a newly allocated string containing the target of the hyperlink, or null