diff --git a/main.go b/main.go index 91c28e7..9eefc5c 100644 --- a/main.go +++ b/main.go @@ -139,10 +139,7 @@ func main() { // Handle resize termui.Handle("/sys/wnd/resize", func(e termui.Event) { - termui.Body.Width = termui.TermWidth() - termui.Body.Align() - termui.Clear() - termui.Render(termui.Body) + doWidgets() }) // Update on an interval