mouseEvent method

Send a mouse event at offset with button being currently in buttonState.

Implementation

bool mouseEvent(
  TerminalLibraryFlutterMouseButton button,
  TerminalLibraryFlutterMouseButtonState buttonState,
  Offset offset,
) {
  final position = getCellOffset(offset);
  return _terminal.mouseInput(button, buttonState, position);
}