Closed deepakkamesh closed 5 years ago
I cannot seem to capture the mouse event
termui.Handle("/sys/mouse", func(e termui.Event) { fmt.Println("Mouse event") })
any thoughts?
Looks like it was not implemented. See accept pull request with fix.
https://github.com/gizak/termui/pull/152
Added mouse events! Check the event.go file for more info. Also check the changelog for breaking changes if you upgrade.
I cannot seem to capture the mouse event
termui.Handle("/sys/mouse", func(e termui.Event) { fmt.Println("Mouse event") })
any thoughts?