aboutsummaryrefslogtreecommitdiffstats
path: root/ui/interactive.go
blob: 5dd5feffa2f1bfca0596c186b869fa0048d09f27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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
}