From f541eaf9cd16f4b5f4e1bc68ea102c7afa135221 Mon Sep 17 00:00:00 2001 From: Travis Howse Date: Sun, 14 Aug 2022 23:02:19 +1000 Subject: [PATCH] Initialise the copy of screen in the Application struct. --- application.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {