Merge pull request #757 from tjhowse/Fix_Screen_init

Initialise Screen if SetScreen called before Run
pull/294/merge
rivo 2 years ago committed by GitHub
commit c59dc10ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -181,6 +181,7 @@ func (a *Application) SetScreen(screen tcell.Screen) *Application {
// Run() has not been called yet.
a.screen = screen
a.Unlock()
screen.Init()
return a
}

Loading…
Cancel
Save