integrate snake game into lazygit

This commit is contained in:
Jesse Duffield 2022-12-30 11:34:01 +11:00
parent 81281a49b2
commit af5b3be286
14 changed files with 341 additions and 162 deletions

View file

@ -131,7 +131,7 @@ func getBindingSections(bindings []*types.Binding, tr *i18n.TranslationSet) []*b
return false
}
return (binding.Description != "" || binding.Alternative != "")
return (binding.Description != "" || binding.Alternative != "") && binding.Key != nil
})
bindingsByHeader := lo.GroupBy(bindingsToDisplay, func(binding *types.Binding) header {