Initialise the copy of screen in the Application struct.

This commit is contained in:
Travis Howse 2022-08-14 23:02:19 +10:00
parent 0e6b21a48e
commit f541eaf9cd
1 changed files with 1 additions and 1 deletions

View File

@ -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 {