Represents a mouse input event for the terminal.
Examples
%Ghostty.MouseEvent{action: :press, button: :left, x: 50.0, y: 40.0}
%Ghostty.MouseEvent{action: :release, button: :left, x: 50.0, y: 40.0}
%Ghostty.MouseEvent{action: :motion, x: 55.0, y: 42.0}
Summary
Types
@type action() :: :press | :release | :motion
@type button() :: :left | :right | :middle | :four | :five | nil
@type modifier() :: :shift | :ctrl | :alt | :super