diff --git a/application.go b/application.go index 8f90393..5433c00 100644 --- a/application.go +++ b/application.go @@ -286,7 +286,7 @@ func (a *Application) Run() error { a.Unlock() // Initialize and draw this screen. - if err := screen.Init(); err != nil { + if err := a.screen.Init(); err != nil { panic(err) } if enableMouse {