diff options
Diffstat (limited to 'lib/ui/grid.go')
-rw-r--r-- | lib/ui/grid.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ui/grid.go b/lib/ui/grid.go index 28640d03..00f759bf 100644 --- a/lib/ui/grid.go +++ b/lib/ui/grid.go @@ -4,6 +4,7 @@ import ( "math" "sync" + "git.sr.ht/~rockorager/vaxis" "github.com/gdamore/tcell/v2" ) @@ -128,7 +129,7 @@ func (grid *Grid) Draw(ctx *Context) { } } -func (grid *Grid) MouseEvent(localX int, localY int, event tcell.Event) { +func (grid *Grid) MouseEvent(localX int, localY int, event vaxis.Event) { if event, ok := event.(*tcell.EventMouse); ok { grid.mutex.RLock() |