enum

TermBuf::Input::Mouse::Action

Inherits Enum < Comparable < Value < Object

What happened to it.

Constants

Press = 0
Release = 1
Motion = 2

The pointer moved. Reported only while a button is held unless the application asked for all motion, which DEC mode 1000 does not.

Instance methods

motion?

Returns true if this enum value equals Motion

Source
press?

Returns true if this enum value equals Press

Source
release?

Returns true if this enum value equals Release

Source