aboutsummaryrefslogtreecommitdiff
path: root/lib/ui/interactive.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/interactive.go')
-rw-r--r--lib/ui/interactive.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ui/interactive.go b/lib/ui/interactive.go
index efab828..2d4f099 100644
--- a/lib/ui/interactive.go
+++ b/lib/ui/interactive.go
@@ -1,17 +1,17 @@
package ui
import (
- tb "github.com/nsf/termbox-go"
+ "github.com/gdamore/tcell"
)
type Interactive interface {
// Returns true if the event was handled by this component
- Event(event tb.Event) bool
+ Event(event tcell.Event) bool
}
type Simulator interface {
// Queues up the given input events for simulation
- Simulate(events []tb.Event)
+ Simulate(events []tcell.Event)
}
type DrawableInteractive interface {