Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v0.5.0
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) Start ¶ added in v0.5.0
func (c *Controller) Start(keySettings settings.Keys, root *item.Item, dispatcher Dispatcher) (bool, error)
type Dispatcher ¶ added in v0.5.0
type Dispatcher interface { DispatchEvent(rawEvent interface{}) ReadUserInput() (string, error) Cleanup() }
func DefaultDispatcher ¶ added in v0.5.0
func DefaultDispatcher(keys settings.Keys) (Dispatcher, error)
type ValidKeyEvent ¶ added in v0.5.0
type ValidKeyEvent struct {
Key string
}
Click to show internal directories.
Click to hide internal directories.