summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-02 20:05:58 -0600
committerJeff Carr <[email protected]>2025-03-02 20:05:58 -0600
commit6f739933b7e7f9194089bee64cef945d9ba73534 (patch)
treed2e34c4a3a90ff88d9930d4edf17200c3a4e2ba2 /init.go
parent4b79e862a7832aa23b0a97ef16d6d9b9559016b7 (diff)
always update clock
Diffstat (limited to 'init.go')
-rw-r--r--init.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.go b/init.go
index 3f3d885..f373fa9 100644
--- a/init.go
+++ b/init.go
@@ -250,6 +250,7 @@ func refreshGocui() {
me.stdout.outputOnTop = true
setThingsOnTop()
}
+ relocateStdoutOffscreen()
log.Info("refresh triggered")
me.newWindowTrigger <- me.treeRoot.TK.(*guiWidget)
me.refresh = false
@@ -266,7 +267,7 @@ func refreshGocui() {
// todo: add logic here to see if the application has changed anything
// me.baseGui.UpdateAsync(testRefresh) // probably don't need this
me.baseGui.Update(testRefresh)
- if me.notify.clock.tk != nil && !me.showHelp {
+ if me.notify.clock.tk != nil {
// also double check the gocui view exists
if me.notify.clock.tk.v != nil {
me.notify.clock.tk.v.Clear()