Merge pull request #88 from heavenlyhash/patch-1
Clear screen during re-layouts in example
This commit is contained in:
@@ -114,6 +114,7 @@ func main() {
|
||||
ui.Handle("/sys/wnd/resize", func(e ui.Event) {
|
||||
ui.Body.Width = ui.TermWidth()
|
||||
ui.Body.Align()
|
||||
ui.Clear()
|
||||
ui.Render(ui.Body)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user