mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +02:00
explicitly delete 'help' view
This commit is contained in:
@ -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,
|
// 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
|
// the focus isn't set back to any of panels and one is unable to even quit
|
||||||
//_, err := g.SetViewOnBottom(v.Name())
|
//_, err := g.SetViewOnBottom(v.Name())
|
||||||
err := g.DeleteView(v.Name())
|
err := g.DeleteView("help")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user