diff --git a/menus.go b/menus.go index feceea2..6b13a4a 100644 --- a/menus.go +++ b/menus.go @@ -37,7 +37,10 @@ func HelpMenu() MenuFn { m := menu.NewMenu() m.BorderLabel = "Help" m.AddItems(helpDialog...) - ui.Render(m) + ui.Handle("/sys/wnd/resize", func(e ui.Event) { + ui.Clear() + ui.Render(m) + }) ui.Handle("/sys/kbd/", func(ui.Event) { ui.StopLoop() })