always update clock
This commit is contained in:
parent
4b79e862a7
commit
6f739933b7
3
init.go
3
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()
|
||||
|
|
Loading…
Reference in New Issue