summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 02:12:54 -0600
committerJeff Carr <[email protected]>2025-03-03 02:12:54 -0600
commit6d1dfed3db9c08b85fd40c1592edf3c730b5b348 (patch)
treed46ec5b2442c94e95d105dbde89d967d51b5ccc6 /help.go
parent65cf744a8643d63780fed3fc2f60cbe289f54cac (diff)
set global options in init
Diffstat (limited to 'help.go')
-rw-r--r--help.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/help.go b/help.go
index de9b247..5f5274b 100644
--- a/help.go
+++ b/help.go
@@ -91,12 +91,12 @@ func showHelp() error {
} else {
if me.notify.clock.tk == nil {
makeClock(me.notify.clock.wId)
- me.notify.clock.tk.MoveToOffset(maxX-10, 1)
+ me.notify.clock.tk.MoveToOffset(maxX-me.notify.clock.offsetW, 1)
me.notify.clock.tk.Hide()
me.notify.clock.tk.Show()
}
if me.notify.clock.tk != nil {
- me.notify.clock.tk.MoveToOffset(maxX-10, 1)
+ me.notify.clock.tk.MoveToOffset(maxX-me.notify.clock.offsetW, 1)
me.notify.clock.tk.Hide()
me.notify.clock.tk.Show()
}