Make tabs respond to mouse events

This commit is contained in:
Zachary Yedidia
2016-06-08 17:47:48 -04:00
parent 059a5c3b89
commit a79e964cb6
4 changed files with 71 additions and 8 deletions

View File

@@ -257,6 +257,9 @@ func main() {
// Wait for the user's action
event := screen.PollEvent()
if TabbarHandleMouseEvent(event) {
continue
}
if searching {
// Since searching is done in real time, we need to redraw every time