summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
Diffstat (limited to 'help.go')
-rw-r--r--help.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/help.go b/help.go
index f0cf48b..a0b638a 100644
--- a/help.go
+++ b/help.go
@@ -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