gizak / termui

Golang terminal dashboard
MIT License
13.11k stars 786 forks source link

Cannot seem to capture mouse event. #151

Closed deepakkamesh closed 5 years ago

deepakkamesh commented 7 years ago

I cannot seem to capture the mouse event

termui.Handle("/sys/mouse", func(e termui.Event) { fmt.Println("Mouse event") })

any thoughts?

deepakkamesh commented 7 years ago

Looks like it was not implemented. See accept pull request with fix.

https://github.com/gizak/termui/pull/152

cjbassi commented 5 years ago

Added mouse events! Check the event.go file for more info. Also check the changelog for breaking changes if you upgrade.