mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
fix keybinding error in menu panel on close
This commit is contained in:
parent
2ef5edcf89
commit
8b99753ab8
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ func (gui *Gui) createMenu(title string, items interface{}, itemCount int, handl
|
|||
return gui.returnFocus(gui.g, menuView)
|
||||
}
|
||||
|
||||
for _, key := range []gocui.Key{gocui.KeySpace, gocui.KeyEnter} {
|
||||
for _, key := range []gocui.Key{gocui.KeySpace, gocui.KeyEnter, 'y'} {
|
||||
_ = gui.g.DeleteKeybinding("menu", key, gocui.ModNone)
|
||||
|
||||
if err := gui.g.SetKeybinding("menu", key, gocui.ModNone, wrappedHandlePress); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue