diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 01:40:57 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 01:40:57 -0600 |
| commit | b8b8a409ea77f457bbb3490f5282bf9b3ff88c3e (patch) | |
| tree | d584d7cefb0bf6a1976d9b16567e25d57621c39b /init.go | |
| parent | 010bd2a33fc64e182fe1190e11d6ef2f841088f8 (diff) | |
show stdout buffer when it is small
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -247,9 +247,13 @@ func refreshGocui() { continue } if time.Since(lastRefresh) > 1000*time.Millisecond { + // artificially pause clock while dragging. + // this is a reminder to make this refresh code smarter + // after the switch to protocol buffers if me.mouse.mouseUp { // log.Info("refresh now on mouseUp") // 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.clock.tk != nil && !me.showHelp { // also double check the gocui view exists |
