1
0
mirror of https://github.com/divan/expvarmon.git synced 2025-04-27 13:48:55 +08:00

Fixed update on resize

This commit is contained in:
Ivan Daniluk 2015-05-03 17:54:56 +03:00
parent b07f3cdacc
commit 6691de274e

View File

@ -65,8 +65,7 @@ func main() {
return
}
if e.Type == termui.EventResize {
termui.Body.Width = termui.TermWidth()
termui.Body.Align()
ui.Update(*data)
}
}
}