diff options
Diffstat (limited to 'client/main.go')
| -rw-r--r-- | client/main.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/client/main.go b/client/main.go index c9da6c3..5993cf6 100644 --- a/client/main.go +++ b/client/main.go @@ -39,7 +39,15 @@ func main() { redraw = true case <-drawTick: if redraw { - globalApp.show() + for i := 0; i < 2; i++ { + // some information takes two passes to propogate + tui.Clear() + globalApp.show() + tui.DrawLayout() + } + if tui.Present() != nil { + os.Exit(-1) + } redraw = false } case text := <-globalApp.activePaste: |
