summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 12:50:05 -0600
committerJeff Carr <[email protected]>2025-02-08 12:50:05 -0600
commit90083d5bcb2df4b526a04213c07392fe72cb816c (patch)
treeb7c55d340d52e445a2baa08869de8569a196005e /help.go
parent77b4bcb94b64d327c8bb3b3df2cedacd7d9fdae6 (diff)
a clock
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
}