diff options
| author | Jeff Carr <[email protected]> | 2025-02-13 14:11:52 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-13 14:11:52 -0600 |
| commit | c5472a42a24ff2ec0dce44c6ea275cd2670f8524 (patch) | |
| tree | 56cb3fbeb9b3c24b8a9736adb7386232c55d932e /help.go | |
| parent | fa9ec36dbb05877a802ac6b5e2d358a2372f9a68 (diff) | |
finally starting to clean up the init() process
Diffstat (limited to 'help.go')
| -rw-r--r-- | help.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -131,6 +131,15 @@ func setThingsOnTop() { me.baseGui.SetViewOnTop(me.clock.tk.v.Name()) } + if me.stdout.tk == nil { + makeOutputWidget(me.baseGui, "from setThingsOnTop()") + } + if me.stdout.tk == nil { + return + } + if me.stdout.tk.v == nil { + return + } if me.dark { me.stdout.tk.v.FgColor = gocui.ColorWhite me.stdout.tk.v.BgColor = gocui.ColorBlack |
