Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Opal::Terminal::MouseEvent
Inherits
Struct
<
Value
<
Object
Represents a mouse tracking event in the terminal.
Constructors
new
(x :
Int32
, y :
Int32
, button :
MouseButton
, action :
MouseAction
, ctrl :
Bool
= false, alt :
Bool
= false, shift :
Bool
= false)
Source
Instance methods
action
Source
alt?
Source
button
Source
ctrl?
Source
shift?
Source
x
Source
y
Source