1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-24 01:32:26 +03:00

Show escape binding for staging and patch building in the status bar

This commit is contained in:
Stefan Haller
2025-08-12 17:27:58 +02:00
parent 5f91b1b48e
commit 51066b14b1
2 changed files with 8 additions and 6 deletions

View File

@@ -46,6 +46,7 @@ func (self *PatchBuildingController) GetKeybindings(opts types.KeybindingsOpts)
Key: opts.GetKey(opts.Config.Universal.Return), Key: opts.GetKey(opts.Config.Universal.Return),
Handler: self.Escape, Handler: self.Escape,
Description: self.c.Tr.ExitCustomPatchBuilder, Description: self.c.Tr.ExitCustomPatchBuilder,
DisplayOnScreen: true,
}, },
} }
} }

View File

@@ -71,6 +71,7 @@ func (self *StagingController) GetKeybindings(opts types.KeybindingsOpts) []*typ
Key: opts.GetKey(opts.Config.Universal.Return), Key: opts.GetKey(opts.Config.Universal.Return),
Handler: self.Escape, Handler: self.Escape,
Description: self.c.Tr.ReturnToFilesPanel, Description: self.c.Tr.ReturnToFilesPanel,
DisplayOnScreen: true,
}, },
{ {
Key: opts.GetKey(opts.Config.Universal.TogglePanel), Key: opts.GetKey(opts.Config.Universal.TogglePanel),