mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-24 23:40:03 -05:00
Point the note about the menu's essential keys at what it means
There is no `reservedKeys` any more; the list of keys that menu items must not shadow is `essentialKeys` in the function that creates the menu. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
4116a15dae
commit
8aa57264fa
@@ -36,7 +36,7 @@ func NewMenuController(
|
||||
}
|
||||
|
||||
// NOTE: if you add a new keybinding here, you'll also need to add it to
|
||||
// `reservedKeys` in `pkg/gui/context/menu_context.go`
|
||||
// `essentialKeys` in `pkg/gui/menu_panel.go`, so that menu items can't shadow it
|
||||
func (self *MenuController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding {
|
||||
bindings := []*types.Binding{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user