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 6342a5e..9c1755c 100644
--- a/help.go
+++ b/help.go
@@ -88,6 +88,15 @@ func showHelp() error {
return err
}
}
+ g.SetViewOnTop("help")
me.helpLabel = help
return nil
}
+
+func helpTop() {
+ if me.showHelp { // terrible variable name. FIXME
+ // log.Info("help is hidden")
+ return
+ }
+ me.baseGui.SetViewOnTop("help")
+}