explicitly delete 'help' view

This commit is contained in:
Dawid Dziurla 2018-09-01 14:03:03 +02:00
parent 265d7e121a
commit e376de6d1a
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -40,7 +40,7 @@ func (gui *Gui) handleHelpClose(g *gocui.Gui, v *gocui.View) error {
// better to delete because for example after closing update confirmation panel,
// the focus isn't set back to any of panels and one is unable to even quit
//_, err := g.SetViewOnBottom(v.Name())
err := g.DeleteView(v.Name())
err := g.DeleteView("help")
if err != nil {
return err
}