1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

fix cheatsheet crash

This commit is contained in:
Jesse Duffield
2022-02-13 10:39:14 +11:00
parent 722410aded
commit 3188526ecb
7 changed files with 66 additions and 42 deletions

View File

@ -124,7 +124,7 @@ func formatBinding(binding *types.Binding) string {
func getBindingSections(mApp *app.App) []*bindingSection {
bindingSections := []*bindingSection{}
bindings, _ := mApp.Gui.GetInitialKeybindings()
bindings := mApp.Gui.GetCheatsheetKeybindings()
type contextAndViewType struct {
subtitle string