struct Opal::Terminal::MouseEvent

Overview

Represents a mouse tracking event in the terminal.

Defined in:

opal/terminal/ansi_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32, button : MouseButton, action : MouseAction, ctrl : Bool = false, alt : Bool = false, shift : Bool = false) #

[View source]

Instance Method Detail

def action : MouseAction #

[View source]
def alt? : Bool #

[View source]
def button : MouseButton #

[View source]
def ctrl? : Bool #

[View source]
def shift? : Bool #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]