diff options
| author | Jeff Carr <[email protected]> | 2019-05-29 11:10:12 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-29 11:10:12 -0700 |
| commit | ec50a45351a5bd38009e2b2db69121b86fd15fa7 (patch) | |
| tree | 34ae38520343efcfd357bda5578dfffbb9309d71 /splash.go | |
| parent | 5a24461b59b49f622283951e1891559f6323a42d (diff) | |
correctly dereference the AreaHandler
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'splash.go')
| -rw-r--r-- | splash.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,12 +14,13 @@ func ShowSplashBox() *ui.Box { newbox := ui.NewVerticalBox() newbox.SetPadded(true) + // initialize the AreaHandler{} myAH = new(AreaHandler) newText := makeAttributedString() myAH.Attrstr = newText - newAH := makeSplashArea() + makeSplashArea(myAH) - newbox.Append(newAH.Area, true) + newbox.Append(myAH.Area, true) if runtime.GOOS == "linux" { newbox.Append(ui.NewLabel("OS: Linux"), false) |
