11 lines
175 B
Go
11 lines
175 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
|
||
|
}
|