From 8aa57264fa846bdbccf3c6668e1bcdb1705250d8 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 25 Aug 2026 09:51:34 +0200 Subject: [PATCH] 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) --- pkg/gui/controllers/menu_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/controllers/menu_controller.go b/pkg/gui/controllers/menu_controller.go index 57df08dac..1bbb7b27f 100644 --- a/pkg/gui/controllers/menu_controller.go +++ b/pkg/gui/controllers/menu_controller.go @@ -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{ {