From 6d1dfed3db9c08b85fd40c1592edf3c730b5b348 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 3 Mar 2025 02:12:54 -0600 Subject: set global options in init --- help.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'help.go') 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() } -- cgit v1.2.3