1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

use PopContext

This commit is contained in:
Jesse Duffield
2022-02-22 20:17:26 +11:00
parent ecaff7fc6c
commit 120078f011
6 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ func (gui *Gui) getMenuOptions() map[string]string {
}
func (gui *Gui) handleMenuClose() error {
return gui.returnFromContext()
return gui.c.PopContext()
}
// note: items option is mutated by this function