hyperlinkIdAt method

int hyperlinkIdAt(
  1. CellOffset position
)

Implementation

int hyperlinkIdAt(CellOffset position) {
  if (position.y < 0 || position.y >= _buffer.lines.length) return 0;
  final line = _buffer.lines[position.y];
  if (position.x < 0 || position.x >= line.length) return 0;
  return line.getHyperlinkId(position.x);
}