input

package
v0.0.0-...-d956aad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2020 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

Router is a Queue implementation that routes events from all available input sources to registered handlers.

func (*Router) Add

func (q *Router) Add(e event.Event) bool

func (*Router) AddProfile

func (q *Router) AddProfile(profile profile.Event)

func (*Router) Events

func (q *Router) Events(k event.Key) []event.Event

func (*Router) Frame

func (q *Router) Frame(ops *op.Ops)

func (*Router) Profiling

func (q *Router) Profiling() bool

func (*Router) TextInputState

func (q *Router) TextInputState() TextInputState

func (*Router) WakeupTime

func (q *Router) WakeupTime() (time.Time, bool)

type TextInputState

type TextInputState uint8
const (
	TextInputKeep TextInputState = iota
	TextInputClose
	TextInputOpen
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL