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 }