mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Make tabs respond to mouse events
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user