Skip to content

Commit 95e463c

Browse files
committed
Show "Close/Cancel: <esc>" for menus like we do for confirmations
For many menus, just "Close" is fine, but some menus act more like confirmations (e.g. the menu that appears when you cherry-pick and get conflicts); in this case, it's good to make it more obvious that hitting esc cancels the whole thing.
1 parent c763c56 commit 95e463c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gui/controllers/menu_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (self *MenuController) GetKeybindings(opts types.KeybindingsOpts) []*types.
4747
{
4848
Key: opts.GetKey(opts.Config.Universal.Return),
4949
Handler: self.close,
50-
Description: self.c.Tr.Close,
50+
Description: self.c.Tr.CloseCancel,
5151
DisplayOnScreen: true,
5252
},
5353
}

0 commit comments

Comments
 (0)