mirror of https://github.com/rivo/tview.git
Initialise the copy of screen in the Application struct.
This commit is contained in:
parent
0e6b21a48e
commit
f541eaf9cd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue