1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2026-01-14 02:41:35 +01:00
aerc/lib/ui/interactive.go
2018-02-26 22:54:39 -05:00

16 lines
286 B
Go

package ui
import (
tb "github.com/nsf/termbox-go"
)
type Interactive interface {
// Returns true if the event was handled by this component
Event(event tb.Event) bool
}
type Simulator interface {
// Queues up the given input events for simulation
Simulate(events []tb.Event)
}