setUri method

  1. @override
void setUri(
  1. int x,
  2. int y,
  3. String? uri
)
override

Sets the OSC 8 hyperlink URI at (x, y) (null clears the link).

Implementation

@override
void setUri(int x, int y, String? uri) {
  if (x >= 0 && x < bounds.width && y >= 0 && y < bounds.height) {
    parent.setUri(bounds.x + x, bounds.y + y, uri);
  }
}