Documentation ¶
Index ¶
- type Router
- func (q *Router) Add(e event.Event) bool
- func (q *Router) AddProfile(profile profile.Event)
- func (q *Router) Events(k event.Key) []event.Event
- func (q *Router) Frame(ops *op.Ops)
- func (q *Router) Profiling() bool
- func (q *Router) TextInputState() TextInputState
- func (q *Router) WakeupTime() (time.Time, bool)
- type TextInputState
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) AddProfile ¶
func (*Router) TextInputState ¶
func (q *Router) TextInputState() TextInputState
type TextInputState ¶
type TextInputState uint8
const ( TextInputKeep TextInputState = iota TextInputClose TextInputOpen )
Click to show internal directories.
Click to hide internal directories.