Versions in this module Expand all Collapse all v0 v0.0.1 Dec 20, 2019 Changes in this version + const ALL_EVENTS + const ALT_PRESSED + const CTRL_PRESSED + const FROM_LEFT_1ST_BUTTON_PRESSED + const FROM_LEFT_2ND_BUTTON_PRESSED + const FROM_LEFT_3RD_BUTTON_PRESSED + const FROM_LEFT_4TH_BUTTON_PRESSED + const IGNORE_RESIZE_EVENT + const LEFT_ALT_PRESSED + const LEFT_CTRL_PRESSED + const NUL + const RIGHTMOST_BUTTON_PRESSED + const RIGHT_ALT_PRESSED + const RIGHT_CTRL_PRESSED + func Count() (int, error) + func DisableCtrlC() + func Flush() error + func IsCtrlCPressed() bool + func Rune() rune + func RuneWithin(msec uintptr) (rune, error) + func Wait(timeout_msec uintptr) (bool, error) + type Event struct + Focus *struct{} + Key *keyEvent + KeyDown *keyEvent + KeyUp *keyEvent + Menu *struct{} + Mouse *consoleinput.MouseEventRecord + Resize *resizeEvent + func All() Event + func Within(msec uintptr) (Event, error) + func (e Event) String() string + type Handle struct + func New() *Handle + func (h *Handle) All() Event + func (h *Handle) Close() + func (h *Handle) DisableCtrlC() + func (h *Handle) Flush() error + func (h *Handle) IsCtrlCPressed() bool + func (h *Handle) Rune() rune + func (h *Handle) RuneWithin(msec uintptr) (rune, error) + func (h *Handle) Wait(timeout_msec uintptr) (bool, error) + func (h *Handle) Within(msec uintptr) (Event, error)