Enable mouse support in views.Application (#494)

This commit is contained in:
Antonio Lassandro 2021-10-11 01:41:26 -04:00 committed by GitHub
parent 62f5502f7b
commit c3ed795e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ func (app *Application) run() {
app.wg.Done()
}()
screen.Init()
screen.EnableMouse()
screen.Clear()
widget.SetView(screen)