summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
Diffstat (limited to 'help.go')
-rw-r--r--help.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/help.go b/help.go
index 6a64bc4..984de18 100644
--- a/help.go
+++ b/help.go
@@ -85,6 +85,12 @@ func showHelp() error {
}
g.SetViewOnTop("help")
me.helpLabel = help
+ if me.clock.tk != nil {
+ g.SetView("help", maxX-(newW+me.FramePadW), 0, maxX-1, len(helpText)+me.FramePadH, 0)
+ me.clock.tk.MoveToOffset(maxX-10, 1)
+ me.clock.tk.Hide()
+ me.clock.tk.Show()
+ }
return nil
}