Versions in this module Expand all Collapse all v0 v0.7.0 Feb 24, 2019 Changes in this version + type FSM struct + func NewFSM(button mouse.Button, area image.Rectangle) *FSM + func (fsm *FSM) Event(m *terminalapi.Mouse) (bool, State) + func (fsm *FSM) UpdateArea(area image.Rectangle) + type State int + const Down + const Up + func (s State) String() string